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!

microsoft visual C++ 6.0

Status
Not open for further replies.

malatya

Programmer
Jun 20, 2000
1
TR
<br>&nbsp;&nbsp;I need help.... <br>&nbsp;&nbsp;I want to resize the controls such as list box <br><br>&nbsp;&nbsp;on an dialog when I maximizes the dialog <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><br>
 
sub Form_Resize()<br>List1.left = 0<br>List1.top = 0<br>List1.width = Form.scaleWidth<br>List2.height = Form.ScaleHeight<br>end sub<br><br>thats all there is to is, if there are other controls you can modify them as well, jusst aligning them to some part of the form, and modifying the height/width differences. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
I'm sorry my bad, VC++ hehe, well um I would assume they have the exact same properties, and I know you can least use the Message traps to get a resize event. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
CWnd::MoveWindow()<br><br>or SDK<br><br>MoveWindow()<br><br>-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top