[MBS] NSDockTile of window

2014-11-21 Thread Dean Davis
How do I get to the NSDockTile of a window in my app so I can change the DockTile of a collapsed window? I see how to get to the applications Dock Tile just not a windows. Thanks, Dean Davis ___ Mbsplugins_monkeybreadsoftware.info mailing list

Re: [MBS] NSDockTile of window

2014-11-21 Thread Christian Schmitz
Am 21.11.2014 um 16:01 schrieb Dean Davis after...@gmail.com: How do I get to the NSDockTile of a window in my app so I can change the DockTile of a collapsed window? dim w as new NSWindowMBS(window1) dim d as NSDockTileMBS = w.dockTile and than use d. Sincerely Christian -- Read our blog

[MBS] MacUSBNotificationMBS and availability of a USB device

2014-11-21 Thread Jean-Luc Arnaud
Hi all, Using MacUSBNotificationMBS, I get an event as soon as an USB device is plugged in. Unfortunately, there is a noticeable delay before availability of this device, in particular when it's a storage device. So, I have to wait in order to get its BSD address with the QueryBSDName

Re: [MBS] MacUSBNotificationMBS and availability of a USB device

2014-11-21 Thread Dean Davis
Just do the loop in your own thread and send yourself a notification when the loop completes. On Fri, Nov 21, 2014 at 10:57 AM, Jean-Luc Arnaud jean-...@cdmultimedia.fr wrote: Hi all, Using MacUSBNotificationMBS, I get an event as soon as an USB device is plugged in. Unfortunately, there is

Re: [MBS] MacUSBNotificationMBS and availability of a USB device

2014-11-21 Thread Christian Schmitz
Am 21.11.2014 um 17:08 schrieb Dean Davis after...@gmail.com: Just do the loop in your own thread and send yourself a notification when the loop completes. please, no loop. And no thread. Use a timer and check every 100 ms maybe. Sincerely Christian -- Read our blog about news on our

Re: [MBS] MacUSBNotificationMBS and availability of a USB device

2014-11-21 Thread Dean Davis
Why no thread? On Fri, Nov 21, 2014 at 12:17 PM, Christian Schmitz supp...@monkeybreadsoftware.de wrote: Am 21.11.2014 um 17:08 schrieb Dean Davis after...@gmail.com: Just do the loop in your own thread and send yourself a notification when the loop completes. please, no loop. And no

Re: [MBS] MacUSBNotificationMBS and availability of a USB device

2014-11-21 Thread Marnaud
Le 21 nov. 2014 à 18:22, Dean Davis a écrit: Why no thread? With a loop, you use a lot of CPU just to wait (ofter nearly as 100%), even if it's in a thread. Using a timer, you only use the CPU at timed intervals. ___