home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / d / d020_1_4 / 6.ddi / MENU / MENU.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-01  |  1.3 KB  |  49 lines

  1. /****************************************************************************
  2.  *                                        *
  3.  *  FILE    : Menu.h                            *
  4.  *                                        *
  5.  *  DESCRIPTION : Header file for the Menu Example application.         *
  6.  *                                        *
  7.  ****************************************************************************/
  8. /* Defines for top-level menu positions */
  9. #define IDFILE_POS     0
  10. #define IDCOLORS_POS   1
  11. #define IDSTATES_POS   2
  12. #define IDHELP_POS     3
  13.  
  14. #define MEASUREITEMWIDTH  40
  15. #define MEASUREITEMHEIGHT 40
  16.  
  17. /* Dialog ID for the About.. dialog */
  18. #define ID_ABOUT 100
  19.  
  20. /* Defines for menu items */
  21. #define IDM_EXIT   202
  22. #define IDM_ABOUT  203
  23.  
  24. /* Colors menu IDs */
  25. #define IDM_COLOROWNERDR 500
  26. #define IDM_BLACK     501
  27. #define IDM_BLUE     502
  28. #define IDM_RED      503
  29. #define IDM_GREEN     504
  30.  
  31. /* Floating popup menu IDs */
  32. #define IDM_FONT         600
  33. #define IDM_SIZE         601
  34. #define IDM_STYLE        602
  35.  
  36. /* States menu IDs */
  37. #define IDM_STATE1       610
  38. #define IDM_STATE2       611
  39. #define IDM_STATE3       612
  40. #define IDM_STATE4       613
  41.  
  42. /* BitBlt Raster operation */
  43. #define ROP_PSDPxax    0x00B8074AL
  44.  
  45. int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
  46. BOOL NEAR PASCAL MenuInit(HANDLE);
  47. long FAR PASCAL MenuWndProc(HWND, unsigned, WORD, LONG);
  48. BOOL FAR PASCAL About(HWND, unsigned, WORD, LONG);
  49.