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

How do I maximize a child-window?

Status
Not open for further replies.

CetGabbe

Programmer
Apr 12, 2002
18
0
0
SE
Good morning.
I wonder how I can maximize a child window so it's maximized from the start, and so that the user wont be able to resize the window.

greets CetGabbe.
 
to maximize it from start just use;
SW_SHOW(MAXIMIZE);

if you use DoModal put it in the new windows init function, or if modeless right after Create();

im not 100% sure, so correct me if im wrong, tho i think that answers your question..

/Hylsan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top