Esempio n. 1
0
void CMainFrame::OnViewOptions()
{
	//CMdsEditApp *pApp = (CMdsEditApp *) AfxGetApp();

	COptionsDlg optionsDlg;

	optionsDlg.m_bViewBlobAsString = CRec::s_bViewBlobAsString;
	if ( optionsDlg.DoModal() != IDOK )
	{
		return;
	}

	if ( optionsDlg.m_bViewBlobAsString == CRec::s_bViewBlobAsString )
	{
		return;
	}

	CRec::s_bViewBlobAsString = optionsDlg.m_bViewBlobAsString;

	CMdsEditListView * pListView = GetListView();

	if ( pListView && pListView->m_pRec )
	{
		pListView->Populate( pListView->m_pRec );
	}
}
Esempio n. 2
0
void CMainFrame::OnMenuOptions()
{
    COptionsDlg dlgOptions;
    dlgOptions.DoModal();
}
Esempio n. 3
0
void COthelloApp::OnAppOptions()
{
	COptionsDlg aboutDlg;
	aboutDlg.DoModal();
}