How can i create a non movable dialouge beside using subclassing technique.
regards,
Chris
Printable View
How can i create a non movable dialouge beside using subclassing technique.
regards,
Chris
You can intercept WM_WINDOWPOSCHANGING and change the parameters in lparam casted to a LPWINDOWPOS
is the intercept you mean equal to subclassing?
Everything with a title bar is moveable unless you subclass it. Create a dialog without a title bar.
it is no others method besides the subclass? 'coz i have at least three (3) dialouge require to become a non movable window.
regards,
I have resolve with this API
VB Code:
RemoveMenu(GetSystemMenu(hWnd, 0), 0, MF_BYPOSITION);