Sizing Dialog Box 
Author Message
 Sizing Dialog Box

How to resize the dialog box in run time ? Any API woud help ??

I am using Visual C++ 5.0, no MFC

JRen Chit



Mon, 11 Nov 2002 03:00:00 GMT  
 Sizing Dialog Box

Quote:
>How to resize the dialog box in run time ? Any API woud help ??

Yes, SetWindowPos.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.



Mon, 11 Nov 2002 03:00:00 GMT  
 Sizing Dialog Box
But what to put as cx and cy parameter ?

Jren Chit

Quote:
> >How to resize the dialog box in run time ? Any API woud help ??

> Yes, SetWindowPos.

> Dave
> --
> MVP VC++ FAQ: http://www.mvps.org/vcfaq
> My address is altered to discourage junk mail.
> Please post responses to the newsgroup thread,
> there's no need for follow-up email copies.



Tue, 12 Nov 2002 03:00:00 GMT  
 Sizing Dialog Box
Depends how big you want your dialog to be. You can get the current
size with GetWindowRect.


Quote:

>But what to put as cx and cy parameter ?



>> >How to resize the dialog box in run time ? Any API woud help ??

>> Yes, SetWindowPos.

--
 - Katy

Katy Mulvey             Please post replies to the newsgroup, thanks!
ORMEC Systems           Check out the VC++ FAQ: http://www.mvps.org/vcfaq
http://www.ormec.com    MVP/VC++  http://support.microsoft.com/support/mvp



Tue, 12 Nov 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Fixed size dialog box?

2. dialog size in evc++ dialog editor not the same as size in pixels on device

3. Get size of dialog box

4. How to change the color,size,font of text in a dialog box

5. Dialog box sizing

6. Sizing of controls in Dialog Box

7. font size of dialog box

8. multiple dialog box sizes

9. changing size of dialog box

10. Dialog box size

11. Dialog box and font size...

12. change size of dialog box according to number of lines in Cstring

 

 
Powered by phpBB® Forum Software