News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Resizing window

Started by msmith, March 19, 2006, 08:34:12 PM

Previous topic - Next topic

msmith

After receiving the WM_SIZE, I do a SetWindowPos on the edit control which causes the edit control to "conform to the new windiw size. The problem is that the status bar stays where it was. What is the best way to cause the stausbar to move to the bottom of the new window?

anon


invoke MoveWindow,hStatusBar,0,0,0,0,TRUE

Always works for me.

msmith

Thank you anon.

Before I got your solution, I found i could make it work by destroying the statusbar and then recreating it.

I like your solution much better.