Adding new events?
BlitzMax Forums/MaxGUI Module/Adding new events?
| ||
Is there a way for me to look at events that are not currently in the list? ie: I would like to watch DEVICECHANGED event to monitor when a USB device is plugged or unplpgged. |
| ||
Can you use CreateEvent to do the check and then EmitEvent? |
| ||
As far as i know, WM_DEVICECHANGE isnt trapped by MaxGUI. So youd have to either create a hidden window and trap it yourself, or override the window func of a maxgui window and trap it there. |
| ||
Thanks for the replies, does anyone have any examples? There seem to be many other events that look usefull additions as well. |
| ||
something like this? |
| ||
grable, Wow and thats not a "vista wow" many many thanks works exactly as I had hoped. |
| ||
Am looking to do a similar thing on the Mac now and the above example is windows only! Any ideas on a multi platform solution? |