home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_144 / 8.ddi / STEPS.ZIP / HELPWIND.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  847 b   |  41 lines

  1. // ObjectWindows - (C) Copyright 1992 by Borland International
  2.  
  3. #ifndef __HELPWIND_H
  4. #define __HELPWIND_H
  5.  
  6. #ifndef __OWL_H
  7. #include <owl.h>
  8. #endif
  9.  
  10. #ifndef __LISTBOX_H
  11. #include <listbox.h>
  12. #endif
  13.  
  14. #ifndef __EDIT_H
  15. #include <edit.h>
  16. #endif
  17.  
  18. #define ID_LISTBOX  101
  19. #define ID_BUTTON1  102
  20. #define ID_BUTTON2  103
  21. #define ID_EDIT     104
  22.  
  23. _CLASSDEF(THelpWindow)
  24. class _EXPORT THelpWindow : public TWindow
  25. {
  26. public:
  27.   PTListBox ListBox;
  28.   PTEdit Edit;
  29.   THelpWindow(PTWindowsObject AParent);
  30.   virtual void SetupWindow();
  31.   virtual void HandleListBoxMsg(RTMessage Msg) =
  32.     [ID_FIRST + ID_LISTBOX];
  33.   virtual void HandleButton1Msg(RTMessage Msg) =
  34.     [ID_FIRST + ID_BUTTON1];
  35.   virtual void HandleButton2Msg(RTMessage Msg) =
  36.     [ID_FIRST + ID_BUTTON2];
  37.   virtual void FillEdit(Pchar SelString);
  38. };
  39.  
  40. #endif
  41.