[ Home | Syllabus | Course Notes | Assignments | Search]
Objective: demonstrate building a simple dialog using the wizard
Steps:
void CSimpleDialogView::OnLButtonDown(UINT nFlags, CPoint point)
{
CGetTitle newTitleDlg;
if(newTitleDlg.DoModal() == IDOK)
GetParent()->SetWindowText(newTitleDlg.m_newTitle);
}
#include "GetTitle.h"