-
Windows Messages
Hi WM_ Gurus,
I have the following problem:
I need to know which message(s) is sent, when a user moves the Window. If I check WM_MOVE in PreTranslateMessage(...) like that:
if (pMsg->message == WM_MOVE)
and I´m moving the window I don´t get that message ??? So how ist the message called when a user moves the window ?
Or better: I dont want that the user is able to move the Window how can I prevent that ?
Any suggestions or hints are welcome...
Thanks for help in advance
-=[SKULK]=-
-
Re: Windows Messages
Check the online help for the CWnd::OnSysCommand message handler. If you implement this function in you're CWnd derived class you be able to prevent the user from moving the window.
Henk