CInvalidArgException
OnSize()
CDialog
void CDlgTestAppDlg::OnSize(UINT nType, int cx, int cy) { try { CDialog::OnSize(nType, cx, cy); m_txtImageCtrl.SetWindowText( _T( "0/0" )); } catch( CException *pExp_i ) { // CInvalidArgException delete pExp_i; pExp_i = 0; } }
txtImageCtrl
CEdit
OnInitDialog()
m_txtImageCtrl.SetWindowText( _T("0/0" ));
if (::IsWindow(m_txtImageCtrl.m_hWnd)) m_txtImageCtrl.SetWindowText( _T( "0/0" ));
OnSize
m_txtImageCtrl
true
CDialog::OnInitDialog()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)