I created a CFrameWnd usign this code :
CreateEx(0, wClass, "test", WS_MINIMIZEBOX|WS_MAXIMIZEBOX|WS_SYSMENU|WS_THICKFRAME|WS_CLIPCHILDREN|WS_VISIBLE|WS_POPUP, 20, 20, 520, 560, NULL, NULL, NULL);
I didn't specify WS_CAPTION cause I don't want my window to have a caption.
Everything was fine until I try to maximize the window usign :
The result is weird : the window takes up all the screen, overlapping the Start Menu !!! Is there a way I can go around that strange behavior without adding a caption to my window ?