C++ Mouse Event Listener
-
I am trying to create an event listener for a left mouse button event in c++. Does anyone have any idea how to create this so that I can register the listener at the beginning and then when the event happens it will call a function of what I want to happen. If this makes no sense let me know. Thanks
-
I am trying to create an event listener for a left mouse button event in c++. Does anyone have any idea how to create this so that I can register the listener at the beginning and then when the event happens it will call a function of what I want to happen. If this makes no sense let me know. Thanks
If VC++ 6.0, use the ClassWizard and set up a member function for WM_LBUTTONDOWN. If VC++ 7.1, don't use the Classwizard ('cause it 'taint there) and set a handler for WM_LBUTTONDOWN If your using VC .NET, I haven't the clue. It's too safe for me anyway.;P (In .NET it's probably in the System.Computer.Actions.Mouse.MouseActions.ButtonActions.PressedActions.LeftButton.Down namespace or something hideously long like that) -- modified at 20:25 Wednesday 12th April, 2006