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