Board index » Visual Studio » Maximized SDI - No resize or move
|
rll69
|
Maximized SDI - No resize or move
Visual Studio366
Hi Gurus, I'm building an MFC SDI App that I want initially maximized. I've got it maximized in the PreCreateWindow(...) in the MainFrame but it's not exactly the type of maximize I want. You see, I'm building a kiosk type app that I need to have maximized to the point where it cannot be moved or resized, just like clicking the Maximize Button on top right of the window. I've already tried using WS_MAXIMIZE in the CREATESTRUCT and SW_MAXIMIZED in ShowWindow(...) but it still allows you to move the window by dragging the title bar. Once you've dragged it enough to see the window frame then you can resize the window too, which isn't good for my situation. Does anybody know how this is done? Thanks in advance for any suggestions. - |
