Changeset 380 for trunk/include/win
- Timestamp:
- Jul 24, 1999, 2:37:53 PM (26 years ago)
- Location:
- trunk/include/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/combo.h
r4 r380 1 /* $Id: combo.h,v 1. 1 1999-05-24 20:19:09 ktkExp $ */1 /* $Id: combo.h,v 1.2 1999-07-24 12:37:53 sandervl Exp $ */ 2 2 3 3 /* … … 7 7 #ifndef __WINE_COMBO_H 8 8 #define __WINE_COMBO_H 9 10 #define LISTBOXCLASSNAME "LISTBOX" 11 #define COMBOLBOXCLASSNAME "COMBOLBOX" 12 #define COMBOBOXCLASSNAME "COMBOBOX" 9 13 10 14 #define ID_CB_LISTBOX 1000 … … 16 20 #define CBF_BUTTONDOWN 0x0002 17 21 #define CBF_NOROLLUP 0x0004 18 #define CBF_MEASUREITEM 22 #define CBF_MEASUREITEM 0x0008 19 23 #define CBF_FOCUSED 0x0010 20 24 #define CBF_CAPTURE 0x0020 21 25 #define CBF_EDIT 0x0040 22 #define CBF_NORESIZE 23 #define CBF_NOTIFY 26 #define CBF_NORESIZE 0x0080 27 #define CBF_NOTIFY 0x0100 24 28 #define CBF_NOREDRAW 0x0200 25 #define CBF_SELCHANGE 0x0400 29 #define CBF_SELCHANGE 0x0400 30 #define CBF_NOEDITNOTIFY 0x1000 26 31 #define CBF_EUI 0x8000 27 32 … … 30 35 typedef struct 31 36 { 32 WND*self;33 HWND 34 UINT 35 HWND 36 HWND 37 UINT 38 HFONT 37 HWND hwndself; 38 HWND owner; 39 UINT dwStyle; 40 HWND hWndEdit; 41 HWND hWndLBox; 42 UINT wState; 43 HFONT hFont; 39 44 RECT textRect; 40 45 RECT buttonRect; 41 46 RECT droppedRect; 47 INT droppedIndex; 42 48 INT fixedOwnerDrawHeight; 43 INT droppedWidth;/* last two are not used unless set */44 INT editHeight;/* explicitly */49 INT droppedWidth; /* last two are not used unless set */ 50 INT editHeight; /* explicitly */ 45 51 } HEADCOMBO,*LPHEADCOMBO; 46 52 … … 50 56 51 57 #define CB_GETTYPE( lphc ) ((lphc)->dwStyle & (CBS_DROPDOWNLIST)) 52 #define CB_DISABLED( lphc ) ( (lphc)->self->dwStyle& WS_DISABLED)58 #define CB_DISABLED( lphc ) (GetWindowLongA((lphc)->hwndself,GWL_STYLE) & WS_DISABLED) 53 59 #define CB_OWNERDRAWN( lphc ) ((lphc)->dwStyle & (CBS_OWNERDRAWFIXED | CBS_OWNERDRAWVARIABLE)) 54 60 #define CB_HASSTRINGS( lphc ) ((lphc)->dwStyle & CBS_HASSTRINGS) 55 #define CB_HWND( lphc ) ((lphc)-> self->hwndSelf)61 #define CB_HWND( lphc ) ((lphc)->hwndself) 56 62 57 BOOL 58 HWND COMBO_GetLBWindow( WND*);63 BOOL COMBO_FlipListbox( LPHEADCOMBO, BOOL ); 64 HWND COMBO_GetLBWindow( HWND ); 59 65 LRESULT COMBO_Directory( LPHEADCOMBO, UINT, LPSTR, BOOL ); 66 67 BOOL LISTBOX_Register(); 68 BOOL LISTBOX_Unregister(); 69 BOOL COMBOLBOX_Register(); 70 BOOL COMBOLBOX_Unregister(); 71 72 BOOL COMBOBOX_Register(); 73 BOOL COMBOBOX_Unregister(); 60 74 61 75 #endif /* __WINE_COMBO_H */ -
trunk/include/win/controls.h
r375 r380 1 /* $Id */ 1 2 /* 2 3 * Win32 common controls
Note:
See TracChangeset
for help on using the changeset viewer.