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!

Maximizing Form

Status
Not open for further replies.

fheyn

Programmer
Mar 22, 2001
198
DE
Hi,
my DocView - Application uses a second dialog derived from
class CFormView which is called from a Toolbar - icon.
Within the CChildframe function ActivateFrame I use
nCmdShow = SW_SHOWMAXIMIZED but this only maximizes the
standard View-window.
Does anyone know how to maximize additional dialogs ?
thanks
 
You should send the same messages to your dialogs, not only to your views. John Fill
1c.bmp


ivfmd@mail.md
 
In PreCreateWindow or in ShowWindow event handler put:
ModifyStyle(0,WS_MAXIMIZE,SWP_NOACTIVATE)

Hope this helps, s-)

Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top