Blitzmax and windows events

Archives Forums/Win32 Discussion/Blitzmax and windows events

LAB[au](Posted 2009) [#1]
Hello,

I am using a wrapper dll for a usb device. In the library which is coming with the device there is the possibility to launch a thread which is sending messages (events) to a window.

This function takes HWND and a msgid (message id int) as parameters, so I forward the blitzmax window HWND (GadgetQuery(QUERY_HWND)) and a number like 25487 (I guess it is not used by windows api standard messages...).

I have no problem launching this thread but only getting the message in the event queue of blitzmax. Anybody did that?


LAB[au](Posted 2009) [#2]
ok I solved it by using PostMessageA in C++ and overriding the windowsfunc in blitzmax ...