LRESULT MainFrame::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { AboutDlg dlg; dlg.DoModal(m_hWnd); return 0; }
// App command to run the dialog void CDistributedGameTreeServerApp::OnAppAbout() { AboutDlg aboutDlg; aboutDlg.DoModal(); }
void AboutCommand::execute(CommandContext &aContext) { AboutDlg sDlg; sDlg.DoModal(); }