When a window handle is given, how can i exactly resize a window sending windows messages towards it? I’ve tried many things such as sendig a WM_SIZING Message to the window, but nothing worked(the way i did it).
I don’t like to use SetWindowPosition.
Thanks in advance,
David
WM_SIZEandWM_SIZINGare not commands, they are notifications sent bySetWindowPlacement. You can use that or any of the conveniece API available, includingSetWindowPosandMoveWindow.