🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

win32 mouse click

Started by
1 comment, last by Bruno 23 years, 11 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
Advertisement
maybe you are forgetting a break; in the previous switch?

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

thanks
Bruno

This topic is closed to new replies.

Advertisement