source: Include/api_commctrl.sbp@ 19

Last change on this file since 19 was 7, checked in by dai, 18 years ago
File size: 33.9 KB
Line 
1' api_commctrl.sbp
2#ifndef _INC_COMMCTRL
3#define _INC_COMMCTRL
4
5
6
7'---------------------
8' Initialize commands
9'---------------------
10
11Const ICC_LISTVIEW_CLASSES = &H00000001
12Const ICC_TREEVIEW_CLASSES = &H00000002
13Const ICC_BAR_CLASSES = &H00000004
14Const ICC_TAB_CLASSES = &H00000008
15Const ICC_UPDOWN_CLASS = &H00000010
16Const ICC_PROGRESS_CLASS = &H00000020
17Const ICC_HOTKEY_CLASS = &H00000040
18Const ICC_ANIMATE_CLASS = &H00000080
19Const ICC_WIN95_CLASSES = &H000000FF
20Const ICC_DATE_CLASSES = &H00000100
21Const ICC_USEREX_CLASSES = &H00000200
22Const ICC_COOL_CLASSES = &H00000400
23Const ICC_INTERNET_CLASSES = &H00000800
24Const ICC_PAGESCROLLER_CLASS = &H00001000
25Const ICC_NATIVEFNTCTL_CLASS = &H00002000
26Type INITCOMMONCONTROLSEX
27 dwSize As DWord
28 dwICC As DWord
29End Type
30Declare Function InitCommonControlsEx Lib "comctl32" (ByRef lpInitCtrls As INITCOMMONCONTROLSEX) As BOOL
31
32Declare Sub InitCommonControls Lib "comctl32" ()
33
34
35'----------------------------
36' Common control shared item
37'----------------------------
38
39Const CCS_TOP = &H00000001
40Const CCS_NOMOVEY = &H00000002
41Const CCS_BOTTOM = &H00000003
42Const CCS_NORESIZE = &H00000004
43Const CCS_NOPARENTALIGN = &H00000008
44Const CCS_ADJUSTABLE = &H00000020
45Const CCS_NODIVIDER = &H00000040
46Const CCS_VERT = &H00000080
47Const CCS_LEFT = CCS_VERT or CCS_TOP
48Const CCS_RIGHT = CCS_VERT or CCS_BOTTOM
49Const CCS_NOMOVEX = CCS_VERT or CCS_NOMOVEY
50
51Const CCM_FIRST = &H2000
52Const CCM_SETBKCOLOR = CCM_FIRST+1
53Const CCM_SETCOLORSCHEME = CCM_FIRST+2
54Const CCM_GETCOLORSCHEME = CCM_FIRST+3
55Const CCM_GETDROPTARGET = CCM_FIRST+4
56Const CCM_SETUNICODEFORMAT = CCM_FIRST+5
57Const CCM_GETUNICODEFORMAT = CCM_FIRST+6
58
59Type NMHDR
60 hwndFrom As HWND
61 idFrom As ULONG_PTR
62 code As DWord
63End Type
64
65Const NM_FIRST = 0
66Const NM_OUTOFMEMORY = NM_FIRST-1
67Const NM_CLICK = NM_FIRST-2
68Const NM_DBLCLK = NM_FIRST-3
69Const NM_RETURN = NM_FIRST-4
70Const NM_RCLICK = NM_FIRST-5
71Const NM_RDBLCLK = NM_FIRST-6
72Const NM_SETFOCUS = NM_FIRST-7
73Const NM_KILLFOCUS = NM_FIRST-8
74Const NM_CUSTOMDRAW = NM_FIRST-12
75Const NM_HOVER = NM_FIRST-13
76Const NM_NCHITTEST = NM_FIRST-14
77Const NM_KEYDOWN = NM_FIRST-15
78Const NM_RELEASEDCAPTURE = NM_FIRST-16
79Const NM_SETCURSOR = NM_FIRST-17
80Const NM_CHAR = NM_FIRST-18
81
82
83'-----------
84' ImageList
85'-----------
86
87Type _System_DeclareHandle_HIMAGELIST:unused As DWord:End Type
88TypeDef HIMAGELIST = *_System_DeclareHandle_HIMAGELIST
89
90Declare Function ImageList_AddIcon Lib "comctl32" (himl As HIMAGELIST, hIcon As HICON) As Long
91
92Const ILC_MASK = &H0001
93Const ILC_COLOR = &H0000
94Const ILC_COLORDDB = &H00FE
95Const ILC_COLOR4 = &H0004
96Const ILC_COLOR8 = &H0008
97Const ILC_COLOR16 = &H0010
98Const ILC_COLOR24 = &H0018
99Const ILC_COLOR32 = &H0020
100Declare Function ImageList_Create Lib "comctl32" (cx As Long, cy As Long, flags As DWord, cInitial As Long, cGrow As Long) As HIMAGELIST
101
102Declare Function ImageList_Destroy Lib "comctl32" (himl As HIMAGELIST) As BOOL
103Declare Function ImageList_GetIcon Lib "comctl32" (himl As HIMAGELIST, index As Long, flags As DWord) As HICON
104Declare Function ImageList_GetImageCount Lib "comctl32" (himl As HIMAGELIST) As Long
105Declare Function ImageList_LoadImage Lib "comctl32" (hi As HINSTANCE, lpbmp As BytePtr, cx As Long, cGrow As Long, crMask As DWord, uType As DWord, uFlags As DWord) As HIMAGELIST
106
107
108'-----------
109' ListView
110'-----------
111
112'Column
113Const LVCF_FMT = &H0001
114Const LVCF_WIDTH = &H0002
115Const LVCF_TEXT = &H0004
116Const LVCF_SUBITEM = &H0008
117Const LVCF_IMAGE = &H0010
118Const LVCF_ORDER = &H0020
119Const LVCFMT_LEFT = &H0000
120Const LVCFMT_RIGHT = &H0001
121Const LVCFMT_CENTER = &H0002
122Const LVCFMT_JUSTIFYMASK = &H0003
123Const LVCFMT_IMAGE = &H0800
124Const LVCFMT_BITMAP_ON_RIGHT = &H1000
125Const LVCFMT_COL_HAS_IMAGES = &H8000
126Type LVCOLUMN
127 mask As DWord
128 fmt As Long
129 cx As Long
130 pszText As LPSTR
131 cchTextMax As Long
132 iSubItem As Long
133 iImage As Long
134 iOrder As Long
135End Type
136TypeDef LPLVCOLUMN = *LVCOLUMN
137
138'Find item
139Const LVFI_PARAM = &H0001
140Const LVFI_STRING = &H0002
141Const LVFI_PARTIAL = &H0008
142Const LVFI_WRAP = &H0020
143Const LVFI_NEARESTXY = &H0040
144Type LVFINDINFO
145 flags As DWord
146 psz As LPSTR
147 lParam As LPARAM
148 pt As POINTAPI
149 vkDirection As DWord
150End Type
151TypeDef LPLVFINDINFO = *LVFINDINFO
152
153'Item
154Const LVIF_TEXT = &H0001
155Const LVIF_IMAGE = &H0002
156Const LVIF_PARAM = &H0004
157Const LVIF_STATE = &H0008
158Const LVIF_INDENT = &H0010
159Const LVIF_NORECOMPUTE = &H0800
160Const LVIF_DI_SETITEM = &H1000
161Type LVITEM
162 mask As DWord
163 iItem As Long
164 iSubItem As Long
165 state As DWord
166 stateMask As DWord
167 pszText As LPSTR
168 cchTextMax As Long
169 iImage As Long
170 lParam As LPARAM
171 iIndent As Long
172End Type
173TypeDef LPLVITEM = *LVITEM
174
175
176Const LVM_FIRST = &H1000 'ListView messages
177Const LVM_GETBKCOLOR = LVM_FIRST+0
178Const LVM_SETBKCOLOR = LVM_FIRST+1
179
180Const LVSIL_NORMAL = 0
181Const LVSIL_SMALL = 1
182Const LVSIL_STATE = 2
183Const LVM_GETIMAGELIST = LVM_FIRST+2
184Const LVM_SETIMAGELIST = LVM_FIRST+3
185
186Const LVM_GETITEMCOUNT = LVM_FIRST+4
187Function ListView_GetItemCount(hwnd As HWND) As Long
188 ListView_GetItemCount=SendMessage(hwnd,LVM_GETITEMCOUNT,0,0) As Long
189End Function
190Const LVM_GETITEM = LVM_FIRST+5
191Const LVM_SETITEM = LVM_FIRST+6
192Function ListView_SetItem(hwnd As HWND, ByRef ref_lvItem As LVITEM) As Long
193 ListView_SetItem=SendMessage(hwnd,LVM_SETITEM,0,VarPtr(ref_lvItem) As LPARAM) As Long
194End Function
195Const LVM_INSERTITEM = LVM_FIRST+7
196Function ListView_InsertItem(hwnd As HWND, ByRef ref_lvItem As LVITEM) As Long
197 ListView_InsertItem=SendMessage(hwnd,LVM_INSERTITEM,0,VarPtr(ref_lvItem) As LPARAM) As Long
198End Function
199Const LVM_DELETEITEM = LVM_FIRST+8
200Function ListView_DeleteItem(hwnd As HWND, iItem As Long) As BOOL
201 ListView_DeleteItem=SendMessage(hwnd,LVM_DELETEITEM,iItem,0) As BOOL
202End Function
203Const LVM_DELETEALLITEMS = LVM_FIRST+9
204Function ListView_DeleteAllItems(hwndLV As HWND) As BOOL
205 ListView_DeleteAllItems=SendMessage(hwndLV,LVM_DELETEALLITEMS,0,0) As BOOL
206End Function
207Const LVM_GETCALLBACKMASK = LVM_FIRST+10
208Const LVM_SETCALLBACKMASK = LVM_FIRST+11
209
210Const LVNI_ALL = &H0000
211Const LVNI_FOCUSED = &H0001
212Const LVNI_SELECTED = &H0002
213Const LVNI_CUT = &H0004
214Const LVNI_DROPHILITED = &H0008
215Const LVNI_ABOVE = &H0100
216Const LVNI_BELOW = &H0200
217Const LVNI_TOLEFT = &H0400
218Const LVNI_TORIGHT = &H0800
219Const LVM_GETNEXTITEM = LVM_FIRST+12
220
221Const LVM_FINDITEM = LVM_FIRST+13
222Function ListView_FindItem(hwnd As HWND, iStart As Long, ByRef ref_lvfi As LVFINDINFO) As Long
223 ListView_FindItem=SendMessage(hwnd,LVM_FINDITEM,iStart As WPARAM,VarPtr(ref_lvfi) As LPARAM) As Long
224End Function
225
226Const LVM_GETITEMRECT = LVM_FIRST+14
227Const LVM_SETITEMPOSITION = LVM_FIRST+15
228Const LVM_GETITEMPOSITION = LVM_FIRST+16
229Const LVM_GETSTRINGWIDTH = LVM_FIRST+17
230Const LVM_HITTEST = LVM_FIRST+18
231Const LVM_ENSUREVISIBLE = LVM_FIRST+19
232Const LVM_SCROLL = LVM_FIRST+20
233Function ListView_Scroll(hwnd As HWND, dx As Long, dy As Long) As BOOL
234 ListView_Scroll=SendMessage(hwnd,LVM_SCROLL,dx,dy) As BOOL
235End Function
236Const LVM_REDRAWITEMS = LVM_FIRST+21
237Const LVM_ARRANGE = LVM_FIRST+22
238Const LVM_EDITLABEL = LVM_FIRST+23
239Const LVM_GETEDITCONTROL = LVM_FIRST+24
240Const LVM_GETCOLUMN = LVM_FIRST+25
241Function ListView_GetColumn(hwnd As HWND, iCol As Long, ByRef ref_col As LVCOLUMN) As BOOL
242 ListView_GetColumn=SendMessage(hwnd,LVM_GETCOLUMN,iCol,VarPtr(ref_col) As LPARAM) As BOOL
243End Function
244Const LVM_SETCOLUMN = LVM_FIRST+26
245Function ListView_SetColumn(hwnd As HWND, iCol As Long, ByRef ref_col As LVCOLUMN) As BOOL
246 ListView_SetColumn=SendMessage(hwnd,LVM_SETCOLUMN,iCol,VarPtr(ref_col) As LPARAM) As BOOL
247End Function
248Const LVM_INSERTCOLUMN = LVM_FIRST+27
249Function ListView_InsertColumn(hWnd As HWND, iCol As Long, ByRef ref_lvColumn As LVCOLUMN) As Long
250 ListView_InsertColumn=SendMessage(hWnd,LVM_INSERTCOLUMN ,iCol As WPARAM,VarPtr(ref_lvColumn) As LPARAM) As Long
251End Function
252Const LVM_DELETECOLUMN = LVM_FIRST+28
253Function ListView_DeleteColumn(hwnd As HWND, iCol As Long) As BOOL
254 ListView_DeleteColumn=SendMessage(hwnd,LVM_DELETECOLUMN,iCol,0) As BOOL
255End Function
256Const LVM_GETCOLUMNWIDTH = LVM_FIRST+29
257Const LVM_SETCOLUMNWIDTH = LVM_FIRST+30
258Function ListView_SetColumnWidth(hwnd As HWND, iCol As Long, cx As Long) As BOOL
259 ListView_SetColumnWidth=SendMessage(hwnd,LVM_SETCOLUMNWIDTH,iCol,MAKELONG(cx,0) As LPARAM) As BOOL
260End Function
261Const LVM_GETHEADER = LVM_FIRST+31
262Const LVM_CREATEDRAGIMAGE = LVM_FIRST+33
263Const LVM_GETVIEWRECT = LVM_FIRST+34
264Const LVM_GETTEXTCOLOR = LVM_FIRST+35
265Const LVM_SETTEXTCOLOR = LVM_FIRST+36
266Const LVM_GETTEXTBKCOLOR = LVM_FIRST+37
267Const LVM_SETTEXTBKCOLOR = LVM_FIRST+38
268Const LVM_GETTOPINDEX = LVM_FIRST+39
269Const LVM_GETCOUNTPERPAGE = LVM_FIRST+40
270Const LVM_GETORIGIN = LVM_FIRST+41
271Const LVM_UPDATE = LVM_FIRST+42
272
273Const LVIS_FOCUSED = &H0001
274Const LVIS_SELECTED = &H0002
275Const LVIS_CUT = &H0004
276Const LVIS_DROPHILITED = &H0008
277Const LVIS_GLOW = &H0010
278Const LVIS_ACTIVATING = &H0020
279Const LVIS_OVERLAYMASK = &H0F00
280Const LVIS_STATEIMAGEMASK = &HF000
281Const LVM_SETITEMSTATE = LVM_FIRST+43
282Function ListView_SetItemState(hwnd As HWND, i As Long, state As DWord, mask As DWord) As BOOL
283 Dim lvItem As LVITEM
284 lvItem.stateMask=mask
285 lvItem.state=state
286 ListView_SetItemState=SendMessage(hwnd,LVM_SETITEMSTATE,i,VarPtr(lvItem) As LPARAM) As DWord
287End Function
288Const LVM_GETITEMSTATE = LVM_FIRST+44
289Function ListView_GetItemState(hwnd As HWND, i As Long, mask As DWord) As DWord
290 ListView_GetItemState=SendMessage(hwnd,LVM_GETITEMSTATE,i,mask As LPARAM) As DWord
291End Function
292Function ListView_GetCheckState(hwnd As HWND, iIndex As Long) As BOOL
293 ListView_GetCheckState=((SendMessage(hwnd,LVM_GETITEMSTATE,iIndex,LVIS_STATEIMAGEMASK) As DWord)>>12)-1
294End Function
295
296Const LVM_GETITEMTEXT = LVM_FIRST+45
297Sub ListView_GetItemText(hwnd As HWND, iItem As Long, iSubItem As Long, pszText As LPSTR, cchTextMax As Long)
298 Dim lvi As LVITEM
299 lvi.iSubItem=iSubItem
300 lvi.cchTextMax=cchTextMax
301 lvi.pszText=pszText
302 SendMessage(hwnd,LVM_GETITEMTEXT,iItem,VarPtr(lvi) As LPARAM)
303End Sub
304Const LVM_SETITEMTEXT = LVM_FIRST+46
305Sub ListView_SetItemText(hwnd As HWND, iItem As Long, iSubItem As Long, pszText As LPCSTR)
306 Dim lvi As LVITEM
307 lvi.iSubItem=iSubItem
308 lvi.pszText=pszText
309 SendMessage(hwnd,LVM_SETITEMTEXT,iItem,VarPtr(lvi) As LPARAM)
310End Sub
311Const LVM_SETITEMCOUNT = LVM_FIRST+47
312Const LVM_SORTITEMS = LVM_FIRST+48
313Function ListView_SortItems(hwnd As HWND, pfnCompare As VoidPtr, lParamSort As LPARAM) As BOOL
314 ListView_SortItems=SendMessage(hwnd,LVM_SORTITEMS,lParamSort As WPARAM,pfnCompare As LPARAM) As BOOL
315End Function
316Const LVM_SETITEMPOSITION32 = LVM_FIRST+49
317Const LVM_GETSELECTEDCOUNT = LVM_FIRST+50
318Const LVM_GETITEMSPACING = LVM_FIRST+51
319Const LVM_GETISEARCHSTRING = LVM_FIRST+52
320Const LVM_SETICONSPACING = LVM_FIRST+53
321Const LVM_SETEXTENDEDLISTVIEWSTYLE = LVM_FIRST+54
322Function ListView_SetExtendedListViewStyle(hwndLV As HWND, dwExStyle As DWord) As DWord
323 ListView_SetExtendedListViewStyle=SendMessage(hwndLV,LVM_SETEXTENDEDLISTVIEWSTYLE,dwExStyle,dwExStyle) As DWord
324End Function
325Const LVM_GETEXTENDEDLISTVIEWSTYLE = LVM_FIRST+55
326Function ListView_GetExtendedListViewStyle(hwndLV As HWND) As DWord
327 ListView_GetExtendedListViewStyle=SendMessage(hwndLV,LVM_GETEXTENDEDLISTVIEWSTYLE,0,0) As DWord
328End Function
329Const LVM_GETSUBITEMRECT = LVM_FIRST+56
330Const LVM_SUBITEMHITTEST = LVM_FIRST+57
331Const LVM_SETCOLUMNORDERARRAY = LVM_FIRST+58
332Const LVM_GETCOLUMNORDERARRAY = LVM_FIRST+59
333Const LVM_SETHOTITEM = LVM_FIRST+60
334Const LVM_GETHOTITEM = LVM_FIRST+61
335Const LVM_SETHOTCURSOR = LVM_FIRST+62
336Const LVM_GETHOTCURSOR = LVM_FIRST+63
337Const LVM_APPROXIMATEVIEWRECT = LVM_FIRST+64
338Const LVM_SETWORKAREAS = LVM_FIRST+65
339Const LVM_GETSELECTIONMARK = LVM_FIRST+66
340Const LVM_SETSELECTIONMARK = LVM_FIRST+67
341Const LVM_SETBKIMAGE = LVM_FIRST+68
342Const LVM_GETBKIMAGE = LVM_FIRST+69
343Const LVM_GETWORKAREAS = LVM_FIRST+70
344Const LVM_SETHOVERTIME = LVM_FIRST+71
345Const LVM_GETHOVERTIME = LVM_FIRST+72
346Const LVM_GETNUMBEROFWORKAREAS = LVM_FIRST+73
347Const LVM_SETTOOLTIPS = LVM_FIRST+74
348Const LVM_GETTOOLTIPS = LVM_FIRST+78
349
350Type NMLISTVIEW
351 hdr As NMHDR
352 iItem As Long
353 iSubItem As Long
354 uNewState As DWord
355 uOldState As DWord
356 uChanged As DWord
357 ptAction As POINTAPI
358 lParam As LPARAM
359End Type
360
361Type NMLVDISPINFO
362 hdr As NMHDR
363 item As LVITEM
364End Type
365
366Type NMLVKEYDOWN
367 hdr As NMHDR
368 wVKey As Word
369 flags As DWord
370End Type
371
372Const LVN_FIRST = -100
373Const LVN_ITEMCHANGING = LVN_FIRST-0
374Const LVN_ITEMCHANGED = LVN_FIRST-1
375Const LVN_INSERTITEM = LVN_FIRST-2
376Const LVN_DELETEITEM = LVN_FIRST-3
377Const LVN_DELETEALLITEMS = LVN_FIRST-4
378Const LVN_BEGINLABELEDIT = LVN_FIRST-5
379Const LVN_ENDLABELEDIT = LVN_FIRST-6
380Const LVN_COLUMNCLICK = LVN_FIRST-8
381Const LVN_BEGINDRAG = LVN_FIRST-9
382Const LVN_BEGINRDRAG = LVN_FIRST-11
383Const LVN_ODCACHEHINT = LVN_FIRST-13
384Const LVN_ODFINDITEM = LVN_FIRST-52
385Const LVN_ITEMACTIVATE = LVN_FIRST-14
386Const LVN_ODSTATECHANGED = LVN_FIRST-15
387Const LVN_HOTTRACK = LVN_FIRST-21
388Const LVN_GETDISPINFO = LVN_FIRST-50
389Const LVN_SETDISPINFO = LVN_FIRST-51
390Const LVN_KEYDOWN = LVN_FIRST-55
391
392Const LVS_ICON = &H0000
393Const LVS_REPORT = &H0001
394Const LVS_SMALLICON = &H0002
395Const LVS_LIST = &H0003
396Const LVS_SINGLESEL = &H0004
397Const LVS_SHOWSELALWAYS = &H0008
398Const LVS_SORTASCENDING = &H0010
399Const LVS_SORTDESCENDING = &H0020
400Const LVS_SHAREIMAGELISTS = &H0040
401Const LVS_NOLABELWRAP = &H0080
402Const LVS_AUTOARRANGE = &H0100
403Const LVS_EDITLABELS = &H0200
404Const LVS_OWNERDATA = &H1000
405Const LVS_NOSCROLL = &H2000
406Const LVS_ALIGNTOP = &H0000
407Const LVS_ALIGNLEFT = &H0800
408Const LVS_OWNERDRAWFIXED = &H0400
409Const LVS_NOCOLUMNHEADER = &H4000
410Const LVS_NOSORTHEADER = &H8000
411
412Const LVS_EX_GRIDLINES = &H00000001
413Const LVS_EX_SUBITEMIMAGES = &H00000002
414Const LVS_EX_CHECKBOXES = &H00000004
415Const LVS_EX_TRACKSELECT = &H00000008
416Const LVS_EX_HEADERDRAGDROP = &H00000010
417Const LVS_EX_FULLROWSELECT = &H00000020
418Const LVS_EX_ONECLICKACTIVATE = &H00000040
419Const LVS_EX_TWOCLICKACTIVATE = &H00000080
420Const LVS_EX_FLATSB = &H00000100
421Const LVS_EX_REGIONAL = &H00000200
422Const LVS_EX_INFOTIP = &H00000400
423Const LVS_EX_UNDERLINEHOT = &H00000800
424Const LVS_EX_UNDERLINECOLD = &H00001000
425Const LVS_EX_MULTIWORKAREAS = &H00002000
426
427
428'----------------------
429' ProgressBar Control
430'----------------------
431
432Const PBS_SMOOTH = &H01
433Const PBS_VERTICAL = &H04
434
435Const PBM_SETRANGE = WM_USER+1
436Const PBM_SETPOS = WM_USER+2
437Const PBM_DELTAPOS = WM_USER+3
438Const PBM_SETSTEP = WM_USER+4
439Const PBM_STEPIT = WM_USER+5
440Const PBM_SETRANGE32 = WM_USER+6
441Type PBRANGE
442 iLow As Long
443 iHigh As Long
444End Type
445Const PBM_GETRANGE = WM_USER+7
446Const PBM_GETPOS = WM_USER+8
447Const PBM_SETBARCOLOR = WM_USER+9
448Const PBM_SETBKCOLOR = CCM_SETBKCOLOR
449
450
451'-------------------
452' Statusbar Control
453'-------------------
454
455Const SBARS_SIZEGRIP = &H0100
456
457Const SB_SETTEXT = WM_USER+1
458Const SB_GETTEXT = WM_USER+2
459Const SB_GETTEXTLENGTH = WM_USER+3
460Const SB_SETPARTS = WM_USER+4
461Const SB_GETPARTS = WM_USER+6
462Const SB_GETBORDERS = WM_USER+7
463Const SB_SETMINHEIGHT = WM_USER+8
464Const SB_SIMPLE = WM_USER+9
465Const SB_GETRECT = WM_USER+10
466Const SB_ISSIMPLE = WM_USER+14
467Const SB_SETICON = WM_USER+15
468Const SB_SETTIPTEXT = WM_USER+16
469Const SB_GETTIPTEXT = WM_USER+18
470Const SB_GETICON = WM_USER+20
471Const SB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
472Const SB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
473Const SB_SETBKCOLOR = CCM_SETBKCOLOR
474
475Const SBT_OWNERDRAW = &H1000
476Const SBT_NOBORDERS = &H0100
477Const SBT_POPOUT = &H0200
478Const SBT_RTLREADING = &H0400
479Const SBT_TOOLTIPS = &H0800
480
481Const SBN_SIMPLEMODECHANGE = 880
482
483Declare Function CreateStatusWindow Lib "comctl32" Alias "CreateStatusWindowA" (style As Long, lpszText As LPSTR, hwndParent As HWND, wID As DWord) As HWND
484
485
486'-----------------
487' Toolbar Control
488'-----------------
489
490Const TBSTATE_CHECKED = &H01
491Const TBSTATE_PRESSED = &H02
492Const TBSTATE_ENABLED = &H04
493Const TBSTATE_HIDDEN = &H08
494Const TBSTATE_INDETERMINATE = &H10
495Const TBSTATE_WRAP = &H20
496Const TBSTATE_ELLIPSES = &H40
497Const TBSTATE_MARKED = &H80
498
499Const TBSTYLE_BUTTON = &H0000
500Const TBSTYLE_SEP = &H0001
501Const TBSTYLE_CHECK = &H0002
502Const TBSTYLE_GROUP = &H0004
503Const TBSTYLE_CHECKGROUP = TBSTYLE_GROUP or TBSTYLE_CHECK
504Const TBSTYLE_DROPDOWN = &H0008
505Const TBSTYLE_AUTOSIZE = &H0010
506Const TBSTYLE_NOPREFIX = &H0020
507Const TBSTYLE_TOOLTIPS = &H0100
508Const TBSTYLE_WRAPABLE = &H0200
509Const TBSTYLE_ALTDRAG = &H0400
510Const TBSTYLE_FLAT = &H0800
511Const TBSTYLE_LIST = &H1000
512Const TBSTYLE_CUSTOMERASE = &H2000
513Const TBSTYLE_REGISTERDROP = &H4000
514Const TBSTYLE_TRANSPARENT = &H8000
515Const TBSTYLE_EX_DRAWDDARROWS = &H00000001
516
517Type TBBUTTON
518 iBitmap As Long
519 idCommand As Long
520 fsState As Byte
521 fsStyle As Byte
522#ifdef _WIN64
523 bReserved[ELM(6)] As Byte
524#else
525 bReserved[ELM(2)] As Byte
526#endif
527 dwData As DWord
528 iString As Long
529End Type
530
531Const TB_ENABLEBUTTON = WM_USER+1
532Const TB_CHECKBUTTON = WM_USER+2
533Const TB_PRESSBUTTON = WM_USER+3
534Const TB_HIDEBUTTON = WM_USER+4
535Const TB_INDETERMINATE = WM_USER+5
536Const TB_MARKBUTTON = WM_USER+6
537Const TB_ISBUTTONENABLED = WM_USER+9
538Const TB_ISBUTTONCHECKED = WM_USER+10
539Const TB_ISBUTTONPRESSED = WM_USER+11
540Const TB_ISBUTTONHIDDEN = WM_USER+12
541Const TB_ISBUTTONINDETERMINATE = WM_USER+13
542Const TB_ISBUTTONHIGHLIGHTED = WM_USER+14
543Const TB_SETSTATE = WM_USER+17
544Const TB_GETSTATE = WM_USER+18
545Const TB_ADDBITMAP = WM_USER+19
546Const TB_ADDBUTTONS = WM_USER+20
547Const TB_INSERTBUTTON = WM_USER+21
548Const TB_DELETEBUTTON = WM_USER+22
549Const TB_GETBUTTON = WM_USER+23
550Const TB_BUTTONCOUNT = WM_USER+24
551Const TB_COMMANDTOINDEX = WM_USER+25
552Const TB_SAVERESTORE = WM_USER+26
553Const TB_CUSTOMIZE = WM_USER+27
554Const TB_ADDSTRING = WM_USER+28
555Const TB_GETITEMRECT = WM_USER+29
556Const TB_BUTTONSTRUCTSIZE = WM_USER+30
557Const TB_SETBUTTONSIZE = WM_USER+31
558Const TB_SETBITMAPSIZE = WM_USER+32
559Const TB_AUTOSIZE = WM_USER+33
560Const TB_GETTOOLTIPS = WM_USER+35
561Const TB_SETTOOLTIPS = WM_USER+36
562Const TB_SETPARENT = WM_USER+37
563Const TB_SETROWS = WM_USER+39
564Const TB_GETROWS = WM_USER+40
565Const TB_SETCMDID = WM_USER+42
566Const TB_CHANGEBITMAP = WM_USER+43
567Const TB_GETBITMAP = WM_USER+44
568Const TB_GETBUTTONTEXT = WM_USER+45
569Const TB_REPLACEBITMAP = WM_USER+46
570Const TB_SETINDENT = WM_USER+47
571Const TB_SETIMAGELIST = WM_USER+48
572Const TB_GETIMAGELIST = WM_USER+49
573Const TB_LOADIMAGES = WM_USER+50
574Const TB_GETRECT = WM_USER+51
575Const TB_SETHOTIMAGELIST = WM_USER+52
576Const TB_GETHOTIMAGELIST = WM_USER+53
577Const TB_SETDISABLEDIMAGELIST = WM_USER+54
578Const TB_GETDISABLEDIMAGELIST = WM_USER+55
579Const TB_SETSTYLE = WM_USER+56
580Const TB_GETSTYLE = WM_USER+57
581Const TB_GETBUTTONSIZE = WM_USER+58
582Const TB_SETBUTTONWIDTH = WM_USER+59
583Const TB_SETMAXTEXTROWS = WM_USER+60
584Const TB_GETTEXTROWS = WM_USER+61
585Const TB_GETOBJECT = WM_USER+62
586Const TB_GETBUTTONINFO = WM_USER+65
587Const TB_SETBUTTONINFO = WM_USER+66
588Const TB_GETHOTITEM = WM_USER+71
589Const TB_SETHOTITEM = WM_USER+72
590Const TB_SETANCHORHIGHLIGHT = WM_USER+73
591Const TB_GETANCHORHIGHLIGHT = WM_USER+74
592Const TB_MAPACCELERATOR = WM_USER+78
593Const TB_GETINSERTMARK = WM_USER+79
594Const TB_SETINSERTMARK = WM_USER+80
595Const TB_INSERTMARKHITTEST = WM_USER+81
596Const TB_MOVEBUTTON = WM_USER+82
597Const TB_GETMAXSIZE = WM_USER+83
598Const TB_SETEXTENDEDSTYLE = WM_USER+84
599Const TB_GETEXTENDEDSTYLE = WM_USER+85
600Const TB_GETPADDING = WM_USER+86
601Const TB_SETPADDING = WM_USER+87
602Const TB_SETINSERTMARKCOLOR = WM_USER+88
603Const TB_GETINSERTMARKCOLOR = WM_USER+89
604Const TB_SETCOLORSCHEME = CCM_SETCOLORSCHEME
605Const TB_GETCOLORSCHEME = CCM_GETCOLORSCHEME
606Const TB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
607Const TB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
608Const TB_HITTEST = WM_USER+69
609
610Type TOOLTIPTEXT
611 hdr As NMHDR
612 lpszText As LPSTR
613 szText[79] As Byte
614 hinst As HINSTANCE
615 uFlags As DWord
616 lParam As LPARAM
617End Type
618
619Const TTN_NEEDTEXT = -520
620
621Declare Function CreateToolbarEx Lib "comctl32" (hWnd As HWND, ws As DWord, wID As DWord, nBitmaps As Long, hBMInst As HINSTANCE, wBMID As DWord, lpButtons As VoidPtr, iNumButtons As Long, dxButton As Long, dyButton As Long, dxBitmap As Long, dyBitmap As Long, uStructSize As DWord) As HWND
622
623
624'-----------------------
625' ToolTip Control
626'-----------------------
627
628Const TOOLTIPS_CLASS = "tooltips_class32"
629
630Const TTS_ALWAYSTIP = &H01
631Const TTS_NOPREFIX = &H02
632Const TTS_NOANIMATE = &H10
633Const TTS_NOFADE = &H20
634Const TTS_BALLOON = &H40
635Const TTS_CLOSE = &H80
636
637Const TTF_IDISHWND = &H0001
638Const TTF_CENTERTIP = &H0002
639Const TTF_RTLREADING = &H0004
640Const TTF_SUBCLASS = &H0010
641Const TTF_TRACK = &H0020
642Const TTF_ABSOLUTE = &H0080
643Const TTF_TRANSPARENT = &H0100
644Const TTF_PARSELINKS = &H1000
645Const TTF_DI_SETITEM = &H8000 ' valid only on the TTN_NEEDTEXT callback
646
647Type TOOLINFO
648 cbSize As DWord
649 uFlags As DWord
650 hwnd As HWND
651 uId As ULONG_PTR
652 rect As RECT
653 hinst As HINSTANCE
654 lpszText as LPSTR
655 lParam As LPARAM
656 lpReserved As VoidPtr
657End Type
658
659Const TTM_ACTIVATE = (WM_USER + 1)
660Const TTM_SETDELAYTIME = (WM_USER + 3)
661Const TTM_ADDTOOL = (WM_USER + 4)
662Const TTM_DELTOOL = (WM_USER + 5)
663Const TTM_NEWTOOLRECT = (WM_USER + 6)
664Const TTM_RELAYEVENT = (WM_USER + 7)
665Const TTM_GETTOOLINFO = (WM_USER + 8)
666Const TTM_SETTOOLINFO = (WM_USER + 9)
667Const TTM_HITTEST = (WM_USER +10)
668Const TTM_GETTEXT = (WM_USER +11)
669Const TTM_UPDATETIPTEXT = (WM_USER +12)
670Const TTM_GETTOOLCOUNT = (WM_USER +13)
671Const TTM_ENUMTOOLS = (WM_USER +14)
672Const TTM_GETCURRENTTOOL = (WM_USER + 15)
673Const TTM_WINDOWFROMPOINT = (WM_USER + 16)
674Const TTM_TRACKACTIVATE = (WM_USER + 17) ' wParam = TRUE/FALSE start end lparam = LPTOOLINFO
675Const TTM_TRACKPOSITION = (WM_USER + 18) ' lParam = dwPos
676Const TTM_SETTIPBKCOLOR = (WM_USER + 19)
677Const TTM_SETTIPTEXTCOLOR = (WM_USER + 20)
678Const TTM_GETDELAYTIME = (WM_USER + 21)
679Const TTM_GETTIPBKCOLOR = (WM_USER + 22)
680Const TTM_GETTIPTEXTCOLOR = (WM_USER + 23)
681Const TTM_SETMAXTIPWIDTH = (WM_USER + 24)
682Const TTM_GETMAXTIPWIDTH = (WM_USER + 25)
683Const TTM_SETMARGIN = (WM_USER + 26) ' lParam = lprc
684Const TTM_GETMARGIN = (WM_USER + 27) ' lParam = lprc
685Const TTM_POP = (WM_USER + 28)
686Const TTM_UPDATE = (WM_USER + 29)
687Const TTM_GETBUBBLESIZE = (WM_USER + 30)
688Const TTM_ADJUSTRECT = (WM_USER + 31)
689Const TTM_SETTITLE = (WM_USER + 32) ' wParam = TTI_*, lParam = char* szTitle
690
691
692'-------------------
693' TrackBar Control
694'-------------------
695
696Const TBS_AUTOTICKS = &H0001
697Const TBS_VERT = &H0002
698Const TBS_HORZ = &H0000
699Const TBS_TOP = &H0004
700Const TBS_BOTTOM = &H0000
701Const TBS_LEFT = &H0004
702Const TBS_RIGHT = &H0000
703Const TBS_BOTH = &H0008
704Const TBS_NOTICKS = &H0010
705Const TBS_ENABLESELRANGE = &H0020
706Const TBS_FIXEDLENGTH = &H0040
707Const TBS_NOTHUMB = &H0080
708Const TBS_TOOLTIPS = &H0100
709
710Const TBM_GETPOS = WM_USER
711Const TBM_GETRANGEMIN = WM_USER+1
712Const TBM_GETRANGEMAX = WM_USER+2
713Const TBM_GETTIC = WM_USER+3
714Const TBM_SETTIC = WM_USER+4
715Const TBM_SETPOS = WM_USER+5
716Const TBM_SETRANGE = WM_USER+6
717Const TBM_SETRANGEMIN = WM_USER+7
718Const TBM_SETRANGEMAX = WM_USER+8
719Const TBM_CLEARTICS = WM_USER+9
720Const TBM_SETSEL = WM_USER+10
721Const TBM_SETSELSTART = WM_USER+11
722Const TBM_SETSELEND = WM_USER+12
723Const TBM_GETPTICS = WM_USER+14
724Const TBM_GETTICPOS = WM_USER+15
725Const TBM_GETNUMTICS = WM_USER+16
726Const TBM_GETSELSTART = WM_USER+17
727Const TBM_GETSELEND = WM_USER+18
728Const TBM_CLEARSEL = WM_USER+19
729Const TBM_SETTICFREQ = WM_USER+20
730Const TBM_SETPAGESIZE = WM_USER+21
731Const TBM_GETPAGESIZE = WM_USER+22
732Const TBM_SETLINESIZE = WM_USER+23
733Const TBM_GETLINESIZE = WM_USER+24
734Const TBM_GETTHUMBRECT = WM_USER+25
735Const TBM_GETCHANNELRECT = WM_USER+26
736Const TBM_SETTHUMBLENGTH = WM_USER+27
737Const TBM_GETTHUMBLENGTH = WM_USER+28
738Const TBM_SETTOOLTIPS = WM_USER+29
739Const TBM_GETTOOLTIPS = WM_USER+30
740Const TBM_SETTIPSIDE = WM_USER+31
741Const TBTS_TOP = 0
742Const TBTS_LEFT = 1
743Const TBTS_BOTTOM = 2
744Const TBTS_RIGHT = 3
745
746Const TBM_SETBUDDY = WM_USER+32
747Const TBM_GETBUDDY = WM_USER+33
748Const TBM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT
749Const TBM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT
750
751
752'-------------------
753' TreeView Control
754'-------------------
755
756Type _System_DeclareHandle_HTREEITEM:unused As DWord:End Type
757TypeDef HTREEITEM = *_System_DeclareHandle_HTREEITEM
758
759Const TV_FIRST = &H1100 'TreeView messages
760
761Const TVM_INSERTITEM = TV_FIRST + 0
762Function TreeView_InsertItem(hWnd As HWND, ByRef ref_is As TV_INSERTSTRUCT) As HTREEITEM
763 TreeView_InsertItem=SendMessage(hWnd,TVM_INSERTITEM,0,VarPtr(ref_is) As LPARAM) As HTREEITEM
764End Function
765
766Const TVM_DELETEITEM = TV_FIRST + 1
767Function TreeView_DeleteItem(hWnd As HWND, hitem As HTREEITEM) As BOOL
768 TreeView_InsertItem=SendMessage(hWnd,TVM_DELETEITEM,0,hitem As LPARAM) As BOOL
769End Function
770Function TreeView_DeleteAllItems(hWnd As HWND) As BOOL
771 TreeView_DeleteAllItems=SendMessage(hWnd,TVM_DELETEITEM,0,TVI_ROOT As LPARAM) As BOOL
772End Function
773
774Const TVM_EXPAND = TV_FIRST + 2
775Function TreeView_Expand(hWnd As HWND, hitem As HTREEITEM, code As DWord) As BOOL
776 TreeView_Expand=SendMessage(hWnd,TVM_EXPAND,code As WPARAM,hitem As LPARAM) As BOOL
777End Function
778
779Const TVE_COLLAPSE = &H0001
780Const TVE_EXPAND = &H0002
781Const TVE_TOGGLE = &H0003
782Const TVE_EXPANDPARTIAL = &H4000
783Const TVE_COLLAPSERESET = &H8000
784
785Const TVM_GETITEMRECT = TV_FIRST + 4
786Function TreeView_GetItemRect(hWnd As HWND, hitem As HTREEITEM, ByRef refRect As RECT, code As DWord) As BOOL
787 memcpy(VarPtr(refRect),VarPtr(hitem),SizeOf(HTREEITEM))
788 TreeView_GetItemRect=SendMessage(hWnd,TVM_GETITEMRECT,code As WPARAM,VarPtr(refRect) As LPARAM) As BOOL
789End Function
790
791Const TVM_GETCOUNT = TV_FIRST + 5
792Function TreeView_GetCount(hWnd As HWND) As DWord
793 TreeView_GetCount=SendMessage(hWnd,TVM_GETCOUNT,0,0) As DWord
794End Function
795
796Const TVM_GETINDENT = TV_FIRST + 6
797Function TreeView_GetIndent(hWnd As HWND) As DWord
798 TreeView_GetIndent=SendMessage(hWnd,TVM_GETINDENT,0,0) As DWord
799End Function
800
801Const TVM_SETINDENT = TV_FIRST + 7
802Function TreeView_SetIndent(hWnd As HWND, indent As DWord) As DWord
803 TreeView_SetIndent=SendMessage(hWnd,TVM_SETINDENT,indent As WPARAM,0) As DWord
804End Function
805
806Const TVM_GETIMAGELIST = TV_FIRST + 8
807Function TreeView_GetImageList(hWnd As HWND, iImage As DWord) As HIMAGELIST
808 TreeView_GetImageList=SendMessage(hWnd,TVM_GETIMAGELIST,iImage As WPARAM,0) As HIMAGELIST
809End Function
810
811Const TVSIL_NORMAL = 0
812Const TVSIL_STATE = 2
813
814Const TVM_SETIMAGELIST = TV_FIRST + 9
815Function TreeView_SetImageList(hWnd As HWND, himl As HIMAGELIST, iImage As DWord) As HIMAGELIST
816 TreeView_SetImageList=SendMessage(hWnd,TVM_SETIMAGELIST,iImage As WPARAM,himl As LPARAM) As HIMAGELIST
817End Function
818
819Const TVM_GETNEXTITEM = TV_FIRST + 10
820Function TreeView_GetNextItem(hWnd As HWND, hitem As HTREEITEM, code As DWord) As HTREEITEM
821 TreeView_GetNextItem=SendMessage(hWnd,TVM_GETNEXTITEM,code As WPARAM,hitem As LPARAM) As HTREEITEM
822End Function
823
824Const TVI_ROOT = ((-&H10000) As HTREEITEM)
825Const TVI_FIRST = ((-&H0FFFF) As HTREEITEM)
826Const TVI_LAST = ((-&H0FFFE) As HTREEITEM)
827Const TVI_SORT = ((-&H0FFFD) As HTREEITEM)
828
829Type TVITEM
830 mask As DWord
831 hItem As HTREEITEM
832 state As DWord
833 stateMask As DWord
834 pszText As LPSTR
835 cchTextMax As Long
836 iImage As Long
837 iSelectedImage As Long
838 cChildren As Long
839 lParam As LPARAM
840End Type
841
842Type TVINSERTSTRUCT
843 hParent As HTREEITEM
844 hInsertAfter As HTREEITEM
845 item As TVITEM
846End Type
847TypeDef TV_INSERTSTRUCT = TVINSERTSTRUCT
848
849Const TVIF_TEXT = &H0001
850Const TVIF_IMAGE = &H0002
851Const TVIF_PARAM = &H0004
852Const TVIF_STATE = &H0008
853Const TVIF_HANDLE = &H0010
854Const TVIF_SELECTEDIMAGE = &H0020
855Const TVIF_CHILDREN = &H0040
856Const TVIF_INTEGRAL = &H0080
857Const TVIS_SELECTED = &H0002
858Const TVIS_CUT = &H0004
859Const TVIS_DROPHILITED = &H0008
860Const TVIS_BOLD = &H0010
861Const TVIS_EXPANDED = &H0020
862Const TVIS_EXPANDEDONCE = &H0040
863Const TVIS_EXPANDPARTIAL = &H0080
864Const TVIS_OVERLAYMASK = &H0F00
865Const TVIS_STATEIMAGEMASK = &HF000
866Const TVIS_USERMASK = &HF000
867
868Type NMTREEVIEW
869 hdr As NMHDR
870 action As DWord
871 itemOld As TVITEM
872 itemNew As TVITEM
873 ptDrag As POINTAPI
874End Type
875
876Const TVN_FIRST = -400
877Const TVN_SELCHANGING = TVN_FIRST-1
878Const TVN_SELCHANGED = TVN_FIRST-2
879Const TVN_GETDISPINFO = TVN_FIRST-3
880Const TVN_SETDISPINFO = TVN_FIRST-4
881Const TVN_ITEMEXPANDING = TVN_FIRST-5
882Const TVN_ITEMEXPANDED = TVN_FIRST-6
883Const TVN_BEGINDRAG = TVN_FIRST-7
884Const TVN_BEGINRDRAG = TVN_FIRST-8
885Const TVN_DELETEITEM = TVN_FIRST-9
886Const TVN_BEGINLABELEDIT = TVN_FIRST-10
887Const TVN_ENDLABELEDIT = TVN_FIRST-11
888Const TVN_KEYDOWN = TVN_FIRST-12
889Const TVN_GETINFOTIP = TVN_FIRST-13
890Const TVN_SINGLEEXPAND = TVN_FIRST-15
891
892
893'-----------------
894' UpDown Control
895'-----------------
896
897Declare Function CreateUpDownControl Lib "comctl32" (dwStyle As DWord, x As Long, y As Long, cx As Long, cy As Long, hParent As HWND, nID As Long, hInst As HINSTANCE, hBuddy As HWND, nUpper As Long, nLower As Long, nPos As Long) As HWND
898
899Const UDS_WRAP = &H0001
900Const UDS_SETBUDDYINT = &H0002
901Const UDS_ALIGNRIGHT = &H0004
902Const UDS_ALIGNLEFT = &H0008
903Const UDS_AUTOBUDDY = &H0010
904Const UDS_ARROWKEYS = &H0020
905Const UDS_HORZ = &H0040
906Const UDS_NOTHOUSANDS = &H0080
907Const UDS_HOTTRACK = &H0100
908
909Const UDM_SETRANGE = WM_USER+101
910Const UDM_GETRANGE = WM_USER+102
911Const UDM_SETPOS = WM_USER+103
912Const UDM_GETPOS = WM_USER+104
913Const UDM_SETBUDDY = WM_USER+105
914Const UDM_GETBUDDY = WM_USER+106
915Const UDM_SETACCEL = WM_USER+107
916Const UDM_GETACCEL = WM_USER+108
917Const UDM_SETBASE = WM_USER+109
918Const UDM_GETBASE = WM_USER+110
919Const UDM_SETRANGE32 = WM_USER+111
920Const UDM_GETRANGE32 = WM_USER+112
921
922Type NMUPDOWN
923 hdr As NMHDR
924 iPos As Long
925 iDelta As Long
926End Type
927
928Const UDN_FIRST = -721
929Const UDN_DELTAPOS = UDN_FIRST-1
930
931
932
933'--------------------
934' Calender Contorl
935'--------------------
936
937Const MONTHCAL_CLASS = "SysMonthCal32"
938
939Const MCS_DAYSTATE = &H0001
940Const MCS_MULTISELECT = &H0002
941Const MCS_WEEKNUMBERS = &H0004
942Const MCS_NOTODAYCIRCLE = &H0008
943Const MCS_NOTODAY = &H0010
944
945Const MCM_FIRST = &H1000
946Const MCM_GETCURSEL = (MCM_FIRST + 1)
947Const MCM_SETCURSEL = (MCM_FIRST + 2)
948Const MCM_GETMAXSELCOUNT = (MCM_FIRST + 3)
949Const MCM_SETMAXSELCOUNT = (MCM_FIRST + 4)
950Const MCM_GETSELRANGE = (MCM_FIRST + 5)
951Const MCM_SETSELRANGE = (MCM_FIRST + 6)
952Const MCM_GETMONTHRANGE = (MCM_FIRST + 7)
953Const MCM_SETDAYSTATE = (MCM_FIRST + 8)
954Const MCM_GETMINREQRECT = (MCM_FIRST + 9)
955Const MCM_SETCOLOR = (MCM_FIRST + 10)
956Const MCM_GETCOLOR = (MCM_FIRST + 11)
957Const MCM_SETTODAY = (MCM_FIRST + 12)
958Const MCM_GETTODAY = (MCM_FIRST + 13)
959Const MCM_HITTEST = (MCM_FIRST + 14)
960
961Const MCN_FIRST = &HFFFFFD12
962
963Type NMSELCHANGE
964 nmhdr As NMHDR
965 stSelStart As SYSTEMTIME
966 stSelEnd As SYSTEMTIME
967End Type
968
969Const MCN_SELCHANGE = MCN_FIRST + &H1
970
971
972#endif '_INC_COMMCTRL
Note: See TracBrowser for help on using the repository browser.