Determining mouse click in openGL window
I''m trying to determine if the mouse has been clicked in the openGL window; however, using case MK_LBUTTON in the switch(uMsg) block of code is unable to retrieve mouse click in the openGL window. What''s the best way to determine this?
Thanks in advance!
Sorry if this has been asked before...tried to search for topic, but keep getting a SQL Server error.
....WM_LBUTTONDOWN:
......begin
.........MousePosX:=LOWORD(lParam);
.........MousePosY:=HIWORD(lParam);
......end;
The above is what you should be using in your code. You must have mistyped the event =P
-- Wav
......begin
.........MousePosX:=LOWORD(lParam);
.........MousePosY:=HIWORD(lParam);
......end;
The above is what you should be using in your code. You must have mistyped the event =P
-- Wav
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement