|
|
1.1 root 1:
2: /******************************************************************************\
3: * This is a part of the Microsoft Source Code Samples.
4: * Copyright (C) 1993 Microsoft Corporation.
5: * All rights reserved.
6: * This source code is only intended as a supplement to
7: * Microsoft Development Tools and/or WinHelp documentation.
8: * See these sources for detailed information regarding the
9: * Microsoft samples programs.
10: \******************************************************************************/
11:
12: /* Defines for menu items */
13: #define IDM_EXIT 201
14: #define IDM_ABOUT 202
15:
16: #define IDM_LISTBOX 300
17: #define IDM_MULTILISTBOX 301
18: #define IDM_COMBOBOX 302
19: #define IDM_OWNERCOMBOBOX 303
20:
21: #define IDM_HELP 400
22:
23: /* Defines for dialog box ownerdraw controls. */
24: #define ID_LISTBOX 1000
25: #define ID_BLACK 1003
26: #define ID_WHITE 1004
27: #define ID_RED 1005
28: #define ID_BLUE 1006
29: #define ID_GREEN 1007
30:
31: /* Defines for combo box example */
32: #define ID_COMBOBOX 1000
33: #define ID_SINGLEEDIT 1001
34: #define ID_TEXT1 1002
35: #define ID_TEXT2 1003
36: #define ID_STEPSBOX 1004
37: #define ID_UNSLBUTTON 1005
38: #define ID_NUMSELBUTTON 1006
39: #define ID_TXTSELBUTTON 1007
40: #define ID_FNDSELBUTTON 1008
41: #define ID_CLRBUTTON 1009
42: #define ID_ADDBUTTON 1010
43: #define ID_DELETEBUTTON 1011
44: #define ID_CPYBUTTON 1012
45: #define ID_CBDIRBUTTON 1013
46:
47: LONG FAR PASCAL OwnComboWndProc(HWND, UINT, UINT, LONG);
48: BOOL NEAR PASCAL OwnComboInit(HANDLE);
49: BOOL FAR PASCAL About(HWND, UINT, UINT, LONG);
50: BOOL FAR PASCAL ListBoxExample(HWND, UINT, UINT, LONG);
51: BOOL FAR PASCAL ComboBoxExample(HWND, UINT, UINT, LONG);
52: BOOL FAR PASCAL OwnerComboBoxExample(HWND, UINT, UINT, LONG);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.