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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem changing the size of a control

Status
Not open for further replies.

rbrunton

Programmer
Jan 16, 2003
7
CA
I am working on a dialog box application that I want to be resizable. It is using a tab control with separate child dialog boxes as the content of each tab page. When I resize the dialog box, I can get the tab control to change size appropriately. However, the controls on the individual pages only enlarge to the size of the original dialog box and won't enlarge further.

Can anyone point me in the direction of a solution? What is limiting the size of the controls (a CTreeCtrl and a CListCtrl)?

TIA

Ron
 
Make your original dialogs bigger in the resource editor to begin with. Adjust the sizes accordingly on-the-fly in your code.
tellis.gif

[sup]programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.[/sup]​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top