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?
invoke MoveWindow,hStatusBar,0,0,0,0,TRUE
Always works for me.
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.