Mouse events in Dev-C++

Blitz3D SDK Forums/Blitz3D SDK Programming/Mouse events in Dev-C++

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Have you tried using the SetBlitz3DEventCallback function ?

My c++ isn't all that, but I suppose it should be something like this:
SetBlitz3DEventCallback(*bbcallback);

(The star sign should mean that it is a pointer to the function)

//found this in google as being a standard callback procedure:
LRESULT CALLBACK bbcallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{

 if (message == WM_MOUSEMOVE)
 {
   ...
 }

}