EDN Admin
Well-known member
Im working on a launcher for an application, and it has no border, no handles, and no default minimize/maximize/close buttons. This is intentional, because the application uses custom graphics for all of its controls and needs to look like a themed
launcher (much like the launchers for games like World of Warcraft.) I have used custom code to make a bar the user can grab to move the window, a minimize button, and a close button. There is no maximize button because we dont want the user to
be able to resize the window (the art is static.)
The problem I am having is that I cant fully disable maximize. If I launch the application and press Windows Key + Up, the form is maximized and pushed to the upper-left corner of the screen. The rest of the form draws a white background, and
there is no way to un-maximize it after doing this. If you right-click on the application in the start bar, it doesnt have a Maximize option or anything like that. How do I disable this keyboard shortcut for the application?
My platform is 64-bit Windows 7, Visual Studio c++ 2010. The project is a CLR Windows Form Application.
View the full article
launcher (much like the launchers for games like World of Warcraft.) I have used custom code to make a bar the user can grab to move the window, a minimize button, and a close button. There is no maximize button because we dont want the user to
be able to resize the window (the art is static.)
The problem I am having is that I cant fully disable maximize. If I launch the application and press Windows Key + Up, the form is maximized and pushed to the upper-left corner of the screen. The rest of the form draws a white background, and
there is no way to un-maximize it after doing this. If you right-click on the application in the start bar, it doesnt have a Maximize option or anything like that. How do I disable this keyboard shortcut for the application?
My platform is 64-bit Windows 7, Visual Studio c++ 2010. The project is a CLR Windows Form Application.
View the full article