help me
-
i created an application in Mfc Dialog and i want to increase the dialog size as per the screen size programatically so that the controls in the dialog does not change its positions. Thanks in Advance
||SnAkeBed||
You can use of
MoceWindow
on theWM_SIZE
. -
You can use of
MoceWindow
on theWM_SIZE
.Actually is MoveWindow :P (I know, typing error, but better to be sure the people gets the correct answer :rolleyes:)
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)
-
i created an application in Mfc Dialog and i want to increase the dialog size as per the screen size programatically so that the controls in the dialog does not change its positions. Thanks in Advance
||SnAkeBed||
SnaKeBeD wrote:
i created an application in Mfc Dialog and i want to increase the dialog size as per the screen size programatically so that the controls in the dialog does not change its positions.
SetWindowPos is another api, apart from MoveWindow as quoted by Mr. Hamid (nice one)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
Actually is MoveWindow :P (I know, typing error, but better to be sure the people gets the correct answer :rolleyes:)
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)
He needs to an if before using of it on the wm_size ;).