Advertisement

win32 mouse click

Started by July 14, 2000 06:18 AM
1 comment, last by Bruno 24 years, 4 months ago
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
maybe you are forgetting a break; in the previous switch?

    switch msg{case WM_CREATE:dostuff();case WM_LBUTTONDOWN:bla();break;...}    
Advertisement
That was the problem.. dumb me ))

thanks
Bruno

This topic is closed to new replies.

Advertisement