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

newbie question: display form in main window

Status
Not open for further replies.

zoomby

Programmer
Aug 5, 2002
60
DE
hi!

how can I display a form in the view of the main window using MFC?

bye
zoomby
 
if with "form" you mean a dialog it's
CDialog myDlg
myDlg.DoModal()
otherwise specify.
 
not really.
I meant how can I display a resource(with buttons, textboxes...like in a dialog box) in the main window?
So I could have a menubar also.
If I would create only a dialog, I would not have a menubar etc for example.

bye
zoomby
 
OK, I got it.
From the menue "Insert" (hope it's Insert, 'cause I don't
use VC++ english version) select "new form", then select
CFormView.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top