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!

Create Maximized modal dialog 1

Status
Not open for further replies.

VincentP

Programmer
Apr 1, 2001
116
Anyone knows how to create a modal dialog which is initially maximized?

The only help I found in MSDN is to overwrite the PreCreateWindow function, but it does not seem to ever be called (a breakpoint there never pauses execution).

Thanks,

Vincent
 
add
ShowWindow(SW_SHOWMAXIMIZED);

in your OnInitDialog() function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top