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

square window

Status
Not open for further replies.

JRUBIO

Technical User
Jan 7, 2003
3
US
hello!!!

how can i make child windows that are always square sized?
So that the user can size it but the side sizes of the child window are always equal.

Thanks in advance
 
Override the OnSize method (Message WM_SIZE). You will then know when the user has resized the window and you can alter it's size as required.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top