Archive: HWND resize


HWND resize
Hello,

If someone have the solution to resize dynamically the hwnd of the nsis installer.
thanks


SendMessage(hWnd, WM_SIZE, width, height);

Comes to my mind, now...


WM_SIZE is only a notification. You have to call SetWindowPos or MoveWindow with the System plug-in to resize the window.


Originally posted by kichik
WM_SIZE is only a notification. You have to call SetWindowPos or MoveWindow with the System plug-in to resize the window.
I know, but you can send that notification to your app w/o problem....

Although, SetWindowPos or MoveWindow are also good :)

You can send it, but it shouldn't do anything. It's a notification sent after the size has been changed.

The WM_SIZE message is sent to a window after its size has changed.