Removing Min/Max buttons from an application
-
Is it possible to remove the minimize/maximize/close buttons from a non-dialog application. I'm working on an application where we don't want them displayed. I believe you can disable their functionality by removing their corresponding menu commands, but that still leaves the buttons visible.
-
Is it possible to remove the minimize/maximize/close buttons from a non-dialog application. I'm working on an application where we don't want them displayed. I believe you can disable their functionality by removing their corresponding menu commands, but that still leaves the buttons visible.
rentzk wrote:
Is it possible to remove the minimize/maximize/close
Remove
WM_SYSMENU
style from the concerned window's style.Jesus Lives Forever - Amen:rose:
--Owner drawn:rose: --An eye for an eye makes the whole world blind. --If you find my post helpful then do rate it. --Jesus is Lord:rose:
-
rentzk wrote:
Is it possible to remove the minimize/maximize/close
Remove
WM_SYSMENU
style from the concerned window's style.Jesus Lives Forever - Amen:rose:
--Owner drawn:rose: --An eye for an eye makes the whole world blind. --If you find my post helpful then do rate it. --Jesus is Lord:rose:
Owner drawn wrote:
rentzk wrote: Is it possible to remove the minimize/maximize/close Remove WM_SYSMENU style from the concerned window's style.
Any sugestions about how to do this to the main window? I've done this before with dialogs in an application, but this is the first time I've ever attempted doing it for the entire program.
-
Owner drawn wrote:
rentzk wrote: Is it possible to remove the minimize/maximize/close Remove WM_SYSMENU style from the concerned window's style.
Any sugestions about how to do this to the main window? I've done this before with dialogs in an application, but this is the first time I've ever attempted doing it for the entire program.
In
PreCreateWindow(...)
Jesus Lives Forever - Amen:rose:
--Owner drawn:rose: --An eye for an eye makes the whole world blind. --If you find my post helpful then do rate it. --Jesus is Lord:rose: