Source code of Windows XP (NT5)
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.

34 lines
665 B

  1. // Copyright 1996-1997 Microsoft Corporation. All Rights Reserved.
  2. #ifndef _HHCTRL_H_
  3. #include "hhctrl.h"
  4. #endif
  5. #ifndef _CPROP_H_
  6. #include "cprop.h"
  7. #endif
  8. #include "resource.h"
  9. class CPageContents : public CPropPage
  10. {
  11. public:
  12. CPageContents(CHtmlHelpControl* phhCtrl)
  13. : CPropPage(IDPAGE_CONTENTS) { };
  14. BOOL OnBeginOrEnd();
  15. };
  16. class CPageIndex : public CPropPage
  17. {
  18. public:
  19. CPageIndex(CHtmlHelpControl* phhCtrl)
  20. : CPropPage(IDPAGE_TAB_INDEX) {
  21. m_fSelectionChange = FALSE;
  22. }
  23. BOOL OnBeginOrEnd();
  24. void OnDblClick() {
  25. PostMessage(GetParent(m_hWnd), WM_COMMAND, MAKELONG(IDOK, BN_CLICKED), 0); }
  26. void OnSelChange();
  27. BOOL m_fSelectionChange;
  28. };