I usually override OnMove instead(and, in case, onSize, using the same code) so, if you move the window (or resize it) nothing changes. Remember to release the cursor using ClipCursor(NULL), for example in your dialog's OnDestroy().
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.