Archived

This topic is now archived and is closed to further replies.

win32 mouse click

This topic is 6360 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Anyone knows if it is necessery to clean a buffer or something when using the WM_LBUTTONDOWN and WM_LBUTTONUP ???? When the program begins he goes directly into the case statments as if i was pressing the mouse button.... The WM_KEYUP and other are working just fine..... ideias??? thanks Bruno

Share this post


Link to post
Share on other sites
maybe you are forgetting a break; in the previous switch?

    
switch msg
{
case WM_CREATE:
dostuff();

case WM_LBUTTONDOWN:
bla();
break;
...
}

Share this post


Link to post
Share on other sites