DIB Engine: Implement Polygon
[wine/hacks.git] / include / commctrl.rh
blobb958a791a649076a076c4849e9323ed004d6535d
1 /*
2  * Copyright (C) 2008 Vijay Kiran Kamuju
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
19 /* Header Control */
20 #define HDS_HORZ        0x0000
21 #define HDS_BUTTONS     0x0002
22 #define HDS_HOTTRACK    0x0004
23 #define HDS_HIDDEN      0x0008
24 #define HDS_DRAGDROP    0x0040
25 #define HDS_FULLDRAG    0x0080
26 #define HDS_FILTERBAR   0x0100
27 #define HDS_FLAT        0x0200
29 /* Rebar Control */
30 #define RBS_TOOLTIPS        0x0100
31 #define RBS_VARHEIGHT       0x0200
32 #define RBS_BANDBORDERS     0x0400
33 #define RBS_FIXEDORDER      0x0800
34 #define RBS_REGISTERDROP    0x1000
35 #define RBS_AUTOSIZE        0x2000
36 #define RBS_VERTICALGRIPPER 0x4000
37 #define RBS_DBLCLKTOGGLE    0x8000
39 /*Tool tips */
40 #define TTS_ALWAYSTIP       0x01
41 #define TTS_NOPREFIX        0x02
42 #define TTS_NOANIMATE       0x10
43 #define TTS_NOFADE          0x20
44 #define TTS_BALLOON         0x40
45 #define TTS_CLOSE           0x80
47 /* Statusbar Control */
48 #define SBARS_SIZEGRIP      0x0100
49 #define SBARS_TOOLTIPS      0x0800
50 #define SBT_TOOLTIPS        0x0800
52 /* Toolbar Control */
53 #define TBS_BOTTOM          0x0000
54 #define TBS_HORZ            0x0000
55 #define TBS_RIGHT           0x0000
56 #define TBS_AUTOTICKS       0x0001
57 #define TBS_VERT            0x0002
58 #define TBS_LEFT            0x0004
59 #define TBS_TOP             0x0004
60 #define TBS_BOTH            0x0008
61 #define TBS_NOTICKS         0x0010
62 #define TBS_ENABLESELRANGE  0x0020
63 #define TBS_FIXEDLENGTH     0x0040
64 #define TBS_NOTHUMB         0x0080
65 #define TBS_TOOLTIPS        0x0100
66 #define TBS_REVERSED        0x0200
67 #define TBS_DOWNISLEFT      0x0400
69 /* UpDown Control */
70 #define UDS_WRAP            0x0001
71 #define UDS_SETBUDDYINT     0x0002
72 #define UDS_ALIGNRIGHT      0x0004
73 #define UDS_ALIGNLEFT       0x0008
74 #define UDS_AUTOBUDDY       0x0010
75 #define UDS_ARROWKEYS       0x0020
76 #define UDS_HORZ            0x0040
77 #define UDS_NOTHOUSANDS     0x0080
78 #define UDS_HOTTRACK        0x0100
80 /* Progressbar Control */
81 #define PBS_SMOOTH          0x01
82 #define PBS_VERTICAL        0x04
84 /* Common Control Styles */
85 #define CCS_TOP             0x00000001L
86 #define CCS_NOMOVE          0x00000002L
87 #define CCS_BOTTOM          0x00000003L
88 #define CCS_NORESIZE        0x00000004L
89 #define CCS_NOPARENTALIGN   0x00000008L
90 #define CCS_ADJUSTABLE      0x00000020L
91 #define CCS_NODIVIDER       0x00000040L
92 #define CCS_VERT            0x00000080L
93 #define CCS_LEFT            (CCS_VERT | CCS_TOP)
94 #define CCS_RIGHT           (CCS_VERT | CCS_BOTTOM)
95 #define CCS_NOMOVEX         (CCS_VERT | CCS_NOMOVEY)
97 /* Listview Control */
98 #define LVS_ALIGNTOP        0x0000
99 #define LVS_ICON            0x0000
100 #define LVS_REPORT          0x0001
101 #define LVS_SMALLICON       0x0002
102 #define LVS_LIST            0x0003
103 #define LVS_TYPEMASK        0x0003
104 #define LVS_SINGLESEL       0x0004
105 #define LVS_SHOWSELALWAYS   0x0008
106 #define LVS_SORTASCENDING   0x0010
107 #define LVS_SORTDESCENDING  0x0020
108 #define LVS_SHAREIMAGELISTS 0x0040
109 #define LVS_NOLABELWRAP     0x0080
110 #define LVS_AUTOARRANGE     0x0100
111 #define LVS_EDITLABELS      0x0200
112 #define LVS_OWNERDRAWFIXED  0x0400
113 #define LVS_ALIGNLEFT       0x0800
114 #define LVS_ALIGNMASK       0x0c00
115 #define LVS_OWNERDATA       0x1000
116 #define LVS_NOSCROLL        0x2000
117 #define LVS_NOCOLUMNHEADER  0x4000
118 #define LVS_NOSORTHEADER    0x8000
119 #define LVS_TYPESTYLEMASK   0xfc00
121 /* Treeview Control */
122 #define TVS_HASBUTTONS      0x0001
123 #define TVS_HASLINES        0x0002
124 #define TVS_LINESATROOT     0x0004
125 #define TVS_EDITLABELS      0x0008
126 #define TVS_DISABLEDRAGDROP 0x0010
127 #define TVS_SHOWSELALWAYS   0x0020
128 #define TVS_RTLREADING      0x0040
129 #define TVS_NOTOOLTIPS      0x0080
130 #define TVS_CHECKBOXES      0x0100
131 #define TVS_TRACKSELECT     0x0200
132 #define TVS_SINGLEEXPAND    0x0400
133 #define TVS_INFOTIP         0x0800
134 #define TVS_FULLROWSELECT   0x1000
135 #define TVS_NOSCROLL        0x2000
136 #define TVS_NONEVENHEIGHT   0x4000
137 #define TVS_NOHSCROLL       0x8000
139 /* Tab Control */
140 #define TCS_RIGHTJUSTIFY        0x0000
141 #define TCS_SINGLELINE          0x0000
142 #define TCS_TABS                0x0000
143 #define TCS_SCROLLOPPOSITE      0x0001
144 #define TCS_BOTTOM              0x0002
145 #define TCS_RIGHT               0x0002
146 #define TCS_MULTISELECT         0x0004
147 #define TCS_FLATBUTTONS         0x0008
148 #define TCS_FORCEICONLEFT       0x0010
149 #define TCS_FORCELABELLEFT      0x0020
150 #define TCS_HOTTRACK            0x0040
151 #define TCS_VERTICAL            0x0080
152 #define TCS_BUTTONS             0x0100
153 #define TCS_MULTILINE           0x0200
154 #define TCS_FIXEDWIDTH          0x0400
155 #define TCS_RAGGEDRIGHT         0x0800
156 #define TCS_FOCUSONBUTTONDOWN   0x1000
157 #define TCS_OWNERDRAWFIXED      0x2000
158 #define TCS_TOOLTIPS            0x4000
159 #define TCS_FOCUSNEVER          0x8000
161 /* Animate Control */
162 #define ACS_CENTER          0x0001
163 #define ACS_TRANSPARENT     0x0002
164 #define ACS_AUTOPLAY        0x0004
165 #define ACS_TIMER           0x0008
167 /* Month Calendar Control */
168 #define MCS_DAYSTATE        0x0001
169 #define MCS_MULTISELECT     0x0002
170 #define MCS_WEEKNUMBERS     0x0004
171 #define MCS_NOTODAYCIRCLE   0x0008
172 #define MCS_NOTODAY         0x0010
174 /* Datetime Control */
175 #define DTS_SHORTDATEFORMAT        0x0000
176 #define DTS_UPDOWN                 0x0001
177 #define DTS_SHOWNONE               0x0002
178 #define DTS_LONGDATEFORMAT         0x0004
179 #define DTS_TIMEFORMAT             0x0009
180 #define DTS_SHORTDATECENTURYFORMAT 0x000C
181 #define DTS_APPCANPARSE            0x0010
182 #define DTS_RIGHTALIGN             0x0020
184 /* Pager Control */
185 #define PGS_VERT            0x00000000
186 #define PGS_HORZ            0x00000001
187 #define PGS_AUTOSCROLL      0x00000002
188 #define PGS_DRAGNDROP       0x00000004
190 /* Native Font Control */
191 #define NFS_EDIT            0x0001
192 #define NFS_STATIC          0x0002
193 #define NFS_LISTCOMBO       0x0004
194 #define NFS_BUTTON          0x0008
195 #define NFS_ALL             0x0010
196 #define NFS_USEFONTASSOC    0x0020