home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
winui
/
owncombo
/
owncombo.h
< prev
next >
Wrap
Text File
|
1997-10-05
|
2KB
|
53 lines
/******************************************************************************\
* This is a part of the Microsoft Source Code Samples.
* Copyright (C) 1993 - 1997 Microsoft Corp.
* All rights reserved.
* This source code is only intended as a supplement to
* Microsoft Development Tools and/or WinHelp documentation.
* See these sources for detailed information regarding the
* Microsoft samples programs.
\******************************************************************************/
/* Defines for menu items */
#define IDM_EXIT 201
#define IDM_ABOUT 202
#define IDM_LISTBOX 300
#define IDM_MULTILISTBOX 301
#define IDM_COMBOBOX 302
#define IDM_OWNERCOMBOBOX 303
#define IDM_HELP 400
/* Defines for dialog box ownerdraw controls. */
#define ID_LISTBOX 1000
#define ID_BLACK 1003
#define ID_WHITE 1004
#define ID_RED 1005
#define ID_BLUE 1006
#define ID_GREEN 1007
/* Defines for combo box example */
#define ID_COMBOBOX 1000
#define ID_SINGLEEDIT 1001
#define ID_TEXT1 1002
#define ID_TEXT2 1003
#define ID_STEPSBOX 1004
#define ID_UNSLBUTTON 1005
#define ID_NUMSELBUTTON 1006
#define ID_TXTSELBUTTON 1007
#define ID_FNDSELBUTTON 1008
#define ID_CLRBUTTON 1009
#define ID_ADDBUTTON 1010
#define ID_DELETEBUTTON 1011
#define ID_CPYBUTTON 1012
#define ID_CBDIRBUTTON 1013
LONG FAR PASCAL OwnComboWndProc(HWND, UINT, UINT, LONG);
BOOL NEAR PASCAL OwnComboInit(HANDLE);
BOOL FAR PASCAL About(HWND, UINT, UINT, LONG);
BOOL FAR PASCAL ListBoxExample(HWND, UINT, UINT, LONG);
BOOL FAR PASCAL ComboBoxExample(HWND, UINT, UINT, LONG);
BOOL FAR PASCAL OwnerComboBoxExample(HWND, UINT, UINT, LONG);