Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name :
  4. appdlg.h
  5. Abstract:
  6. CAppDialog dialog class declaration. This is the base clas for
  7. the main dialog. This class resposible for adding "about.." to
  8. system menu and application icon.
  9. Author:
  10. Michael Cheuk (mcheuk)
  11. Project:
  12. Link Checker
  13. Revision History:
  14. --*/
  15. #ifndef _APPDLG_H_
  16. #define _APPDLG_H_
  17. //---------------------------------------------------------------------------
  18. // This is the base clas for the main dialog. This class resposible for
  19. // adding "about.." to system menu and application icon.
  20. //
  21. class CAppDialog : public CDialog
  22. {
  23. // Construction
  24. public:
  25. CAppDialog(UINT nIDTemplate, CWnd* pParent = NULL); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CAppDialog)
  28. //}}AFX_DATA
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CAppDialog)
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. HICON m_hIcon;
  35. // Generated message map functions
  36. //{{AFX_MSG(CAppDialog)
  37. virtual BOOL OnInitDialog();
  38. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  39. afx_msg void OnPaint();
  40. afx_msg HCURSOR OnQueryDragIcon();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. #endif // _APPDLG_H_