home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / WORDPAD.PAK / CHICDIAL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  2.1 KB  |  74 lines

  1. // chicdial.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CCSDialog dialog
  15.  
  16. class CCSDialog : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     CCSDialog();
  21.     CCSDialog(LPCTSTR lpszTemplateName, CWnd* pParentWnd = NULL);
  22.     CCSDialog(UINT nIDTemplate, CWnd* pParentWnd = NULL);
  23.  
  24. // Implementation
  25. protected:
  26.     virtual const DWORD* GetHelpIDs() = 0;
  27.  
  28.     // Generated message map functions
  29.     //{{AFX_MSG(CCSDialog)
  30.     virtual BOOL OnInitDialog();
  31.     //}}AFX_MSG
  32.     afx_msg LONG OnHelp(UINT wParam, LONG lParam);
  33.     afx_msg LONG OnHelpContextMenu(UINT wParam, LONG lParam);
  34.     DECLARE_MESSAGE_MAP()
  35. };
  36.  
  37. class CCSPropertyPage : public CPropertyPage
  38. {
  39. // Construction
  40. public:
  41.     CCSPropertyPage(UINT nIDTemplate, UINT nIDCaption = 0);
  42.     CCSPropertyPage(LPCTSTR lpszTemplateName, UINT nIDCaption = 0);
  43.  
  44. // Implementation
  45. protected:
  46.     virtual const DWORD* GetHelpIDs() = 0;
  47.  
  48.     // Generated message map functions
  49.     //{{AFX_MSG(CCSPropertyPage)
  50.     //}}AFX_MSG
  51.     afx_msg LONG OnHelp(UINT wParam, LONG lParam);
  52.     afx_msg LONG OnHelpContextMenu(UINT wParam, LONG lParam);
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56. class CCSPropertySheet : public CPropertySheet
  57. {
  58. // Construction
  59. public:
  60.     CCSPropertySheet(UINT nIDCaption, CWnd *pParentWnd = NULL, 
  61.         UINT iSelectPage = 0);
  62.     CCSPropertySheet(LPCTSTR pszCaption, CWnd *pParentWnd = NULL, 
  63.         UINT iSelectPage = 0);
  64. // Implementation
  65. protected:
  66.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  67.     // Generated message map functions
  68.     //{{AFX_MSG(CCSPropertySheet)
  69.     //}}AFX_MSG
  70.     afx_msg LONG OnHelp(UINT wParam, LONG lParam);
  71.     afx_msg LONG OnHelpContextMenu(UINT wParam, LONG lParam);
  72.     DECLARE_MESSAGE_MAP()
  73. };
  74.