File:  [WindowsNT SDKs] / q_a / samples / owncombo / owncombo.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:58 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993


/******************************************************************************\
*       This is a part of the Microsoft Source Code Samples. 
*       Copyright (C) 1993 Microsoft Corporation.
*       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);

unix.superglobalmegacorp.com

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