Hi All, I have a tricky question regarding the close\minimize\maximize buttons of a child frame. Hope someone can help.
I create an MDI Framework and then a child frame inside it with a few. For some reason, the close\minimize\maximize buttons of the child frame do not show up, and thus it cannot be minimized or closed.
However, it only happens if I use ShowWindow(SW_MAXIMIZE) in the child frame's OnCreate. Without this line it works fine.
Besides, I checked its style, both WS_MINIMIZEBOX andWS_MAXIMIZEBOX are set. That is why ModifyStyle does not help.
They are not not "missing". They are at the right top corner of the window, below the mainframe titlebar.
VictorN, yes, that is the right behavior I expect, but in my case they do not show even though both WS_MINIMIZEBOX andWS_MAXIMIZEBOX are set. See the picture
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.