home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / genhdrs / keybd / keybd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  979 b   |  32 lines

  1. /**********************************************************
  2. / Keyboard handler example for character keys.
  3. /
  4. / Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  5. / Copyright (c) 1997 John Wiley & Sons, Inc.
  6. / All Rights Reserved.
  7. **********************************************************/
  8. #include <icconst.h>
  9.  
  10. #ifdef IC_PM
  11.   // Define the identifier for the Close system command that was
  12.   // not originally included in VisualAge for C++ for OS/2, V3.0.
  13.   #ifndef IC_ID_CLOSE
  14.     #define IC_ID_CLOSE  0x8004
  15.   #endif
  16. #endif
  17.  
  18. #define ID_KEYBD_DIALOG         100
  19. #define ID_ANY_ENTRY            101
  20. #define ID_UPPERCASE_ENTRY      102
  21. #define ID_HEX_ENTRY            103
  22. #define ID_UPPERCASE_HEX_ENTRY  104
  23. #define ID_UPPERCASE_HEX_COMBO  105
  24. #define ID_UPPERCASE_HEX_MLE    106
  25. #define ID_CLOSE                IC_ID_CLOSE
  26.  
  27. #ifdef IC_PM
  28.   #define ID_COMBOBOX_EF   0x029B  // CBID_EDIT from pmwin.h.
  29. #else
  30.   #define ID_COMBOBOX_EF   0x03E9
  31. #endif
  32.