Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fc1f31a9
Commit
fc1f31a9
authored
Oct 07, 2004
by
Jon Griffiths
Committed by
Alexandre Julliard
Oct 07, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing ODS_ constants, tagname.
parent
5ae461aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
25 deletions
+30
-25
winuser.h
include/winuser.h
+30
-25
No files found.
include/winuser.h
View file @
fc1f31a9
...
...
@@ -602,27 +602,30 @@ typedef struct
#define DC_HASDEFID 0x534b
/*
Owner draw control types
*/
/*
Bit flags for DRAWITEMSTRUCT.CtlType
*/
#define ODT_MENU 1
#define ODT_LISTBOX 2
#define ODT_COMBOBOX 3
#define ODT_BUTTON 4
#define ODT_STATIC 5
/* Owner draw actions */
#define ODA_DRAWENTIRE 0x0001
#define ODA_SELECT 0x0002
#define ODA_FOCUS 0x0004
/* Owner draw state */
#define ODS_SELECTED 0x0001
#define ODS_GRAYED 0x0002
#define ODS_DISABLED 0x0004
#define ODS_CHECKED 0x0008
#define ODS_FOCUS 0x0010
#define ODS_COMBOBOXEDIT 0x1000
#define ODS_HOTLIGHT 0x0040
#define ODS_INACTIVE 0x0080
/* Bit flags for DRAWITEMSTRUCT.itemAction */
#define ODA_DRAWENTIRE 0x1
#define ODA_SELECT 0x2
#define ODA_FOCUS 0x4
/* Bit flags for DRAWITEMSTRUCT.itemState */
#define ODS_SELECTED 0x0001
/* Selected */
#define ODS_GRAYED 0x0002
/* Grayed (Menus only) */
#define ODS_DISABLED 0x0004
/* Disabled */
#define ODS_CHECKED 0x0008
/* Checked (Menus only) */
#define ODS_FOCUS 0x0010
/* Has focus */
#define ODS_DEFAULT 0x0020
/* Default */
#define ODS_HOTLIGHT 0x0040
/* Highlighted when under mouse */
#define ODS_INACTIVE 0x0080
/* Inactive */
#define ODS_NOACCEL 0x0100
/* No keyboard accelerator */
#define ODS_NOFOCUSRECT 0x0200
/* No focus rectangle */
#define ODS_COMBOBOXEDIT 0x1000
/* Edit of a combo box */
/* Edit control styles */
#define ES_LEFT 0x00000000
...
...
@@ -3208,17 +3211,19 @@ typedef struct {
#define DSS_MONO 0x0080
#define DSS_RIGHT 0x8000
typedef
struct
/* Sent as the lParam of a WM_DRAWITEM message to instruct how an
* owner drawn control is to be drawn */
typedef
struct
tagDRAWITEMSTRUCT
{
UINT
CtlType
;
UINT
CtlID
;
UINT
itemID
;
UINT
itemAction
;
UINT
itemState
;
HWND
hwndItem
;
HDC
hDC
;
RECT
rcItem
;
ULONG_PTR
itemData
;
UINT
CtlType
;
/* Type of control (ODT_* flags from "winuser.h") */
UINT
CtlID
;
/* Control ID */
UINT
itemID
;
/* Menu item ID */
UINT
itemAction
;
/* Action to perform (ODA_* flags from "winuser.h") */
UINT
itemState
;
/* Item state (ODS_* flags from "winuser.h") */
HWND
hwndItem
;
/* Control window */
HDC
hDC
;
/* Device context to draw to */
RECT
rcItem
;
/* Position of the control in hDC */
ULONG_PTR
itemData
;
/* Extra data added by the application, if any */
}
DRAWITEMSTRUCT
,
*
PDRAWITEMSTRUCT
,
*
LPDRAWITEMSTRUCT
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment