How can i run my dialog in max. mode?
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
Hey guys, maybe an easy question... ;P i want to start my programm in maximized mode, how can i do this? i think it´s working with
SIZE_MAXIMIZED
but i don´t know where and how to use it. Thanks in advance Pascal RexerIn the
OnInitDialog()
method, post aWM_SYSCOMMAND
message withSC_MAXIMIZE
inwParam
. Or you can callShowWindow(SW_SHOWMAXIMIZED)
.
A rich person is not the one who has the most, but the one that needs the least.
-
Hey guys, maybe an easy question... ;P i want to start my programm in maximized mode, how can i do this? i think it´s working with
SIZE_MAXIMIZED
but i don´t know where and how to use it. Thanks in advance Pascal Rexer