00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_WAITFORCONFIRMATIONDLG_H__F6E1B9F6_A68E_4939_9F4B_CAD4C5616BD6__INCLUDED_) 00007 #define AFX_WAITFORCONFIRMATIONDLG_H__F6E1B9F6_A68E_4939_9F4B_CAD4C5616BD6__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 class CWaitForConfirmationDlg : public CDialog 00014 { 00015 00016 public: 00017 BOOL m_bDontAsk; 00018 LPCSTR m_pszIcon; 00019 00020 void Init (LPCSTR pszMsg, UINT uWait = UINT_MAX, BOOL bShowDontAsk = FALSE, BOOL bNoIsDefault = FALSE, LPCSTR pszDontAskAgainText = NULL, LPCSTR pszMsgIfDontAskAgain = NULL); 00021 CWaitForConfirmationDlg(CWnd* pParent = NULL); 00022 00023 //{{AFX_DATA(CWaitForConfirmationDlg) 00024 enum { IDD = IDD_WAITFORCONFIRMATION }; 00025 //}}AFX_DATA 00026 00027 //{{AFX_VIRTUAL(CWaitForConfirmationDlg) 00028 protected: 00029 virtual void DoDataExchange(CDataExchange* pDX); 00030 //}}AFX_VIRTUAL 00031 00032 protected: 00033 void DoPostDlg(); 00034 00035 void ApplyLanguage(); 00036 00037 void SetTimerText(); 00038 CString m_msg, m_strDontAskAgainText; 00039 CString m_strMsgIfDontAskAfain; 00040 BOOL m_bShowDontAsk; 00041 BOOL m_bNoIsDefault; 00042 UINT m_wait; 00043 00044 //{{AFX_MSG(CWaitForConfirmationDlg) 00045 virtual BOOL OnInitDialog(); 00046 afx_msg void OnTimer(UINT nIDEvent); 00047 afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 00048 afx_msg void OnWhatisthis(); 00049 afx_msg void OnDontask(); 00050 virtual void OnOK(); 00051 virtual void OnCancel(); 00052 //}}AFX_MSG 00053 DECLARE_MESSAGE_MAP() 00054 }; 00055 00056 //{{AFX_INSERT_LOCATION}//}} 00057 00058 #endif
1.5.6