|
-
May 13th, 1999, 06:04 AM
#1
Howto: Change the size of an Dialog?
I can't find the propper function to change the size of an CDialog. I want to implement an 'More >>' button that shows extented information in this dialog.
-
May 13th, 1999, 06:20 AM
#2
Re: Howto: Change the size of an Dialog?
CWnd::MoveWindow() or CWnd::SetWindowPos()
Rail
Recording Engineer/Software Developer
Rail Jon Rogut Software
[email protected]
http://home.earthlink.net/~railro/
-
May 13th, 1999, 09:51 AM
#3
Re: Howto: Change the size of an Dialog?
You might also want to see Windows 95 A Developer's Guide, by Jeffrey Richter. He discusses this very problem in Chapter 3, section Expanding/Shrinking Dialog Box. The solution does center around SetWindowPos(). You save the original size and determine the shrunk size from a static text control. He also shows how to enable/disable the controls in the dialog box as appropriate, and how to reposition the DB if necessary.
Steve M.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|