//------------------------------------------------------------------------ // // [2011/2/26 jjuiddong] //------------------------------------------------------------------------ void CPanelBase::OnShowWindow(BOOL bShow, UINT nStatus) { CDialog::OnShowWindow(bShow, nStatus); if( bShow ) { OnShowWindow(); Update(); // listner¿¡°Ô ¾Ë¸² } else { OnHideWindow(); } }
void CGridDlg::OnOK() { if(!validate()) return; windowToValue(); OnHideWindow(); }
void CGridDlg::OnCancel() { const GridParameters &v = getStartValue(); valueToWindow(v); setCurrentValue(v); OnHideWindow(); }
void CGridDlg::OnClose() { OnHideWindow(); }