Changing Window border on the fly
Posted on 1998-12-29
I have a parent window that displays a child window
when a menu option is chosen.
When the child window is displayed I would like to change
the parent window border so that the window could be
resized. When the child window is removed I would then
return the window border to its original style.
I tried a SetWindowLong call (using a GWL_STYLE (sp?) parameter and a WM_THICKFRAME parameter) before displaying the child window, and another call before removing it.
The border didn't change when the child window was displayed. It did change to the thick frame when I
removed the child window but the window could not