width change at runtime
-
Hi all, I'd like to know if i can change the width/heigth of a dialog at runtime. Thanx in advance, Desmo16.
You can use
MoveWindow(x,y,width,height)
_**
**_
WhiteSky
-
Hi all, I'd like to know if i can change the width/heigth of a dialog at runtime. Thanx in advance, Desmo16.
Desmo16 wrote:
width/heigth of a dialog at runtime.
SetWindowPos
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
-
Desmo16 wrote:
width/heigth of a dialog at runtime.
SetWindowPos
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
-
At this point i need a function returning the current x,y of the dialog, so that i can enlarge it without moving it. Thanx in advance, Desmo16.
Desmo16 wrote:
At this point i need a function returning the current x,y of the dialog, so that i can enlarge it without moving it.
GetWindowPlacement or GetWindowRect!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You