File:  [WindowsNT SDKs] / q_a / samples / menus / menus.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:19 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-oct-1992, ntsdk-jun-1992, HEAD
Microsoft Windows NT Build 297 06-28-1992

#define ID_RESOURCE  1

#define IDM_MENU1    101
#define IDM_MENU2    102

#define IDM_SWITCH   201
#define IDM_DISABLE  202
#define IDM_SUB3     203

#define IDM_CASCADE1 301
#define IDM_CASCADE2 302
#define IDM_CASCADE3 303
#define IDM_CASCADE4 304

#define IDM_FINAL1   401
#define IDM_FINAL2   402
#define IDM_FINAL3   403

#define IDM_HELP     8

#define IDM_LOGO     500
#define IDM_TOOL1    501
#define IDM_TOOL2    502
#define IDM_TOOL3    503
#define IDM_TOOL4    504
#define IDM_TOOL5    505
#define IDM_TOOL6    506


#define ID_POPUP	1002

#define  IDM_NEW	1001
#define  IDM_OPEN	1002
#define  IDM_SAVE	1003
#define  IDM_SAVEAS	1004
#define  IDM_ABOUT	1005
#define  IDM_CUT	1006
#define  IDM_COPY	1007
#define  IDM_PASTE	1008
#define  IDM_CLEAR	1009
#define  IDM_RED	1010
#define  IDM_GREEN	1011
#define  IDM_BLUE	1012
#define  IDM_SMALL	1013
#define  IDM_MEDIUM	1014
#define  IDM_LARGE	1015
#define  IDM_SLOW	1016
#define  IDM_MEDSPEED	1017
#define  IDM_FAST	1018

#define  IDM_POPUP	1020

#define  IDD_ABOUT	1001

#define  ID_ALTERNATE	2000
#define  IDM_ALT1	2100
#define  IDM_ALT_SWITCH 2101
#define  IDM_ALT_ADD	2102

typedef struct _POPUPITEM {
  USHORT afStyle;
  USHORT afAttribute;
  USHORT id;
  char	 text[80];   /* should only be the size of each text string */
} POPUPITEM;

typedef struct _MENUCREATETEMPLATE {
  USHORT    size;
  USHORT    version;
  USHORT    codepage;
  USHORT    mnemonic;
  USHORT    itemcount;
  POPUPITEM item[1];	/* multiple items are allowed, item count = # of items */
} MENUCREATETEMPLATE;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.