Changeset 9523 for trunk/src/user32/controls.h
- Timestamp:
- Dec 18, 2002, 1:28:08 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/controls.h
r5597 r9523 1 /* $Id: controls.h,v 1. 5 2001-04-26 17:02:28sandervl Exp $ */1 /* $Id: controls.h,v 1.6 2002-12-18 12:28:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 common controls … … 45 45 #define ID_CB_EDIT 1001 46 46 47 /* internal flags */ 48 #define CBF_DROPPED 0x0001 49 #define CBF_BUTTONDOWN 0x0002 50 #define CBF_NOROLLUP 0x0004 51 #define CBF_MEASUREITEM 0x0008 52 #define CBF_FOCUSED 0x0010 53 #define CBF_CAPTURE 0x0020 54 #define CBF_EDIT 0x0040 55 #define CBF_NORESIZE 0x0080 56 #define CBF_NOTIFY 0x0100 57 #define CBF_NOREDRAW 0x0200 58 #define CBF_SELCHANGE 0x0400 59 #define CBF_NOEDITNOTIFY 0x1000 60 #define CBF_NOLBSELECT 0x2000 /* do not change current selection */ 61 #define CBF_EUI 0x8000 62 63 /* combo state struct */ 64 typedef struct 65 { 66 HWND self; 67 HWND owner; 68 UINT dwStyle; 69 HWND hWndEdit; 70 HWND hWndLBox; 71 UINT wState; 72 HFONT hFont; 73 RECT textRect; 74 RECT buttonRect; 75 RECT droppedRect; 76 INT droppedIndex; 77 INT fixedOwnerDrawHeight; 78 INT droppedWidth; /* last two are not used unless set */ 79 INT editHeight; /* explicitly */ 80 } HEADCOMBO,*LPHEADCOMBO; 81 82 /* Note, that CBS_DROPDOWNLIST style is actually (CBS_SIMPLE | CBS_DROPDOWN) */ 83 #define CB_GETTYPE( lphc ) ((lphc)->dwStyle & (CBS_DROPDOWNLIST)) 84 85 extern BOOL COMBO_FlipListbox( LPHEADCOMBO, BOOL, BOOL ); 86 47 87 #endif // __CONTROLS_H
Note:
See TracChangeset
for help on using the changeset viewer.