Exemple #1
0
void StartUpAnimation::OnCancel() 
{
	// TODO: Add extra cleanup here
	if (NULL != pCgobangDlg)
	{
		delete pCgobangDlg;
		pCgobangDlg = NULL;
		// 		CString msg;
		// 		msg.Format("ok");
		// 		MessageBox(msg);
	}
	if (nid.hWnd == this->m_hWnd)
	{
		DeleteTray();
	}

	CDialog::OnCancel();
}
Exemple #2
0
BOOL CAutoDialDlg::DestroyWindow()
{
	DeleteTray();
	return CDialog::DestroyWindow();
}