Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to minimise and maximise the content of the dialog

Status
Not open for further replies.

kaya17

Programmer
Feb 9, 2004
78
SG
when minimise and maximise the dialog,how to make the content, say a list and some buttons concurrently being minimised or maximised together? that is to keep the layout unchanged whenever you minimise or maximise the dialog?

anyone could kindly help me with this?

Thanks so much in advance!

Regards,
kaya
 
There is no layout. To make your own layout you should use API function DefferWindowPos.

Ion Filipski
1c.bmp
 
oh, but i want is just to maximise and minimise the dialog.
and i have included the minimise and maximise button from the property box. but only the dialog changes, the list and everything inside the dialog don't change...

how to change everything together?
 
I can not understand what would do you like to accomplish.
The standard way to maximize/minimize any window is to use API function ShowWindow with parameters SW_MAXIMIZE/SW_MINIMIZE. There is no additional actions you should do for nested controls.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top