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.

55 lines
1.5 KiB

  1. // optionsh.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. // COptionSheet
  14. class COptionSheet : public CCSPropertySheet
  15. {
  16. // Construction
  17. public:
  18. COptionSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  19. // Attributes
  20. public:
  21. CUnitsPage units;
  22. CDocOptPage pageText;
  23. CDocOptPage pageRTF;
  24. CDocOptPage pageWord;
  25. CDocOptPage pageWrite;
  26. CEmbeddedOptPage pageEmbedded;
  27. // Operations
  28. public:
  29. INT_PTR DoModal();
  30. void SetPageButtons(CDocOptPage& page, CDocOptions& options, BOOL bPrimary = TRUE);
  31. void SetState(CDocOptPage& page, CDocOptions& optiosn, BOOL bPrimary = TRUE);
  32. // Overrides
  33. virtual LONG OnHelp(WPARAM, LPARAM lParam);
  34. virtual LONG OnHelpContextMenu(WPARAM, LPARAM lParam);
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(COptionSheet)
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. public:
  40. // Generated message map functions
  41. protected:
  42. //{{AFX_MSG(COptionSheet)
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. /////////////////////////////////////////////////////////////////////////////