ReactOS 0.4.17-dev-1190-g4c812f4
rosctrls.h
Go to the documentation of this file.
1
2#pragma once
3
4class CListView: public CWindow
5{
6public:
7
8 HWND Create(HWND hWndParent, _U_RECT rect, LPCTSTR szWindowName = NULL, DWORD dwStyle = 0,
9 DWORD dwExStyle = 0, _U_MENUorID MenuOrID = 0U, LPVOID lpCreateParam = NULL)
10 {
11 m_hWnd = ::CreateWindowEx(dwExStyle,
13 szWindowName,
14 dwStyle,
15 rect.m_lpRect->left,
16 rect.m_lpRect->top,
17 rect.m_lpRect->right - rect.m_lpRect->left,
18 rect.m_lpRect->bottom - rect.m_lpRect->top,
20 MenuOrID.m_hMenu,
21 _AtlBaseModule.GetModuleInstance(),
22 lpCreateParam);
23
24 return m_hWnd;
25 }
26
28 {
30 }
31
33 {
34 return (BOOL)SendMessage(LVM_SETTEXTBKCOLOR, 0, cr);
35 }
36
38 {
39 return (BOOL)SendMessage(LVM_SETBKCOLOR, 0, cr);
40 }
41
43 {
44 return (BOOL)SendMessage(LVM_SETTEXTCOLOR, 0, cr);
45 }
46
48 {
50 }
51
52 int InsertColumn(int iCol, LV_COLUMN* pcol)
53 {
54 return (int)SendMessage(LVM_INSERTCOLUMN, iCol, reinterpret_cast<LPARAM>(pcol));
55 }
56
57 int InsertColumn(int iCol, LPWSTR pszText, int fmt, int width = -1, int iSubItem = -1, int iImage = -1, int iOrder = -1)
58 {
59 LV_COLUMN column = {0};
61 column.pszText = pszText;
62 column.fmt = fmt;
63 if(width != -1)
64 {
65 column.mask |= LVCF_WIDTH;
66 column.cx = width;
67 }
68 if(iSubItem != -1)
69 {
70 column.mask |= LVCF_SUBITEM;
71 column.iSubItem = iSubItem;
72 }
73 if(iImage != -1)
74 {
75 column.mask |= LVCF_IMAGE;
76 column.iImage = iImage;
77 }
78 if(iOrder != -1)
79 {
80 column.mask |= LVCF_ORDER;
81 column.iOrder = iOrder;
82 }
83 return InsertColumn(iCol, &column);
84 }
85
86 int GetColumnWidth(int iCol)
87 {
88 return (int)SendMessage(LVM_GETCOLUMNWIDTH, iCol);
89 }
90
91 BOOL SetColumnWidth(int iCol, int width)
92 {
94 }
95
97 {
98 return (HIMAGELIST)SendMessage(LVM_SETIMAGELIST, iImageList, reinterpret_cast<LPARAM>(himl));
99 }
100
101 int InsertItem(const LV_ITEM * pitem)
102 {
103 return (int)SendMessage(LVM_INSERTITEM, 0, reinterpret_cast<LPARAM>(pitem));
104 }
105
107 {
108 return (BOOL)SendMessage(LVM_DELETEITEM, i, 0);
109 }
110
112 {
113 return (BOOL)SendMessage(LVM_GETITEM, 0, reinterpret_cast<LPARAM>(pitem));
114 }
115
116 BOOL SetItem(const LV_ITEM * pitem)
117 {
118 return (BOOL)SendMessage(LVM_SETITEM, 0, reinterpret_cast<LPARAM>(pitem));
119 }
120
121 BOOL FindItem(int iStart, const LV_FINDINFO * plvfi)
122 {
123 return (BOOL)SendMessage(LVM_FINDITEM, iStart, (LPARAM) plvfi);
124 }
125
127 {
129 }
130
132 {
134 }
135
137 {
138 return (BOOL)SendMessage(LVM_UPDATE, i, 0);
139 }
140
142 {
144 }
145
147 {
148 return (BOOL)SendMessage(LVM_SORTITEMS, (WPARAM)lParam, (LPARAM) pfnCompare);
149 }
150
151 BOOL EnsureVisible(int i, BOOL fPartialOK)
152 {
153 return (BOOL)SendMessage(LVM_ENSUREVISIBLE, i, MAKELPARAM((fPartialOK),0));
154 }
155
157 {
158 return (HWND)SendMessage(LVM_EDITLABEL, i, 0);
159 }
160
162 {
164 }
165
167 {
168 return (int)SendMessage(LVM_GETNEXTITEM, i, MAKELPARAM((flags),0));
169 }
170
171 void GetItemSpacing(SIZE& spacing, BOOL bSmallIconView = FALSE)
172 {
173 DWORD ret = SendMessage(LVM_GETITEMSPACING, bSmallIconView);
174 spacing.cx = LOWORD(ret);
175 spacing.cy = HIWORD(ret);
176 }
177
179 {
181 }
182
184 {
186 item.stateMask = mask;
187 item.state = state;
188 SendMessage(LVM_SETITEMSTATE, i, reinterpret_cast<LPARAM>(&item));
189 }
190
191 BOOL SetItemText(int i, int subItem, LPCWSTR text)
192 {
194 item.iSubItem = subItem;
195 item.pszText = (LPWSTR)text;
197 }
198
200 {
202 }
203
204 int HitTest(LV_HITTESTINFO * phtInfo)
205 {
206 return (int)SendMessage(LVM_HITTEST, 0, reinterpret_cast<LPARAM>(phtInfo));
207 }
208
210 {
211 LVITEMW lvItem = { 0 };
212 lvItem.mask = LVIF_PARAM;
213 lvItem.iItem = i;
214 BOOL ret = GetItem(&lvItem);
215 return (DWORD_PTR)(ret ? lvItem.lParam : NULL);
216 }
217
219 {
220 pItem->iItem = GetNextItem(-1, LVNI_ALL | LVNI_SELECTED);
221 if (pItem->iItem == -1)
222 return FALSE;
223 return GetItem(pItem);
224 }
225
226 void GetItemText(int iItem, int iSubItem, LPTSTR pszText, int cchTextMax)
227 {
228 LV_ITEM itemInfo;
229 itemInfo.iSubItem = iSubItem;
230 itemInfo.pszText = pszText;
231 itemInfo.cchTextMax = cchTextMax;
232
233 SendMessage(LVM_GETITEMTEXT, iItem, (LPARAM) &itemInfo);
234 }
235
236 BOOL GetItemPosition(int nItem, POINT* pPoint)
237 {
238 return (BOOL)SendMessage(LVM_GETITEMPOSITION, nItem, (LPARAM)pPoint);
239 }
240
241 BOOL SetItemPosition(int nItem, POINT* pPoint)
242 {
243 return (BOOL)SendMessage(LVM_SETITEMPOSITION, nItem, MAKELPARAM(pPoint->x, pPoint->y));
244 }
245
247 {
248 return (BOOL)SendMessage(LVM_ARRANGE, nCode, 0);
249 }
250
251};
252
253template<typename TItemData = DWORD_PTR>
254class CToolbar :
255 public CWindow
256{
257public: // Configuration methods
258
259 // Hack:
260 // Use DECLARE_WND_SUPERCLASS instead!
261 HWND Create(HWND hWndParent, DWORD dwStyles = 0, DWORD dwExStyles = 0)
262 {
263 if (!dwStyles)
264 {
265 dwStyles = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN;
266 }
267
268 if (!dwExStyles)
269 {
270 dwExStyles = WS_EX_TOOLWINDOW;
271 }
272
273 m_hWnd = CreateWindowExW(dwExStyles,
275 NULL,
276 dwStyles,
277 0, 0, 0, 0, hWndParent,
278 NULL,
279 _AtlBaseModule.GetModuleInstance(),
280 NULL);
281
282 if (!m_hWnd)
283 return NULL;
284
285 /* Identify the version we're using */
287
288 return m_hWnd;
289 }
290
292 {
293 return SendMessageW(TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0);
294 }
295
297 {
299 }
300
301 DWORD SetTooltip(HWND hWndTooltip)
302 {
303 return SendMessageW(TB_SETTOOLTIPS, reinterpret_cast<WPARAM>(hWndTooltip), 0);
304 }
305
307 {
309 }
310
312 {
314 }
315
317 {
318 return SendMessageW(TB_SETDRAWTEXTFLAGS, useBits, bitState);
319 }
320
321public: // Button list management methods
323 {
325 }
326
328 {
329 return SendMessageW(TB_GETBUTTON, index, reinterpret_cast<LPARAM>(btn));
330 }
331
333 {
334 return SendMessageW(TB_ADDBUTTONS, 1, reinterpret_cast<LPARAM>(btn));
335 }
336
338 {
339 return SendMessageW(TB_ADDBUTTONS, count, reinterpret_cast<LPARAM>(buttons));
340 }
341
342 DWORD InsertButton(int insertAt, TBBUTTON * btn)
343 {
344 return SendMessageW(TB_INSERTBUTTON, insertAt, reinterpret_cast<LPARAM>(btn));
345 }
346
347 DWORD MoveButton(int oldIndex, int newIndex)
348 {
349 return SendMessageW(TB_MOVEBUTTON, oldIndex, newIndex);
350 }
351
353 {
355 }
356
358 {
359 return SendMessageW(TB_GETBUTTONINFO, cmdId, reinterpret_cast<LPARAM>(info));
360 }
361
363 {
364 return SendMessageW(TB_SETBUTTONINFO, cmdId, reinterpret_cast<LPARAM>(info));
365 }
366
367 DWORD CheckButton(int cmdId, BOOL bCheck)
368 {
369 return SendMessageW(TB_CHECKBUTTON, cmdId, MAKELPARAM(bCheck, 0));
370 }
371
372 DWORD HideButton(int cmdId, BOOL bHide)
373 {
374 return SendMessageW(TB_HIDEBUTTON, cmdId, MAKELPARAM(bHide, 0));
375 }
376
377public: // Layout management methods
379 {
381 }
382
384 {
386 }
387
389 {
391 }
392
394 {
395 return SendMessageW(TB_GETMAXSIZE, 0, reinterpret_cast<LPARAM>(size));
396 }
397
399 {
400 return SendMessageW(TB_GETIDEALSIZE, useHeight, reinterpret_cast<LPARAM>(size));
401 }
402
404 {
405 return SendMessageW(TB_GETMETRICS, 0, reinterpret_cast<LPARAM>(tbm));
406 }
407
409 {
410 return SendMessageW(TB_SETMETRICS, 0, reinterpret_cast<LPARAM>(tbm));
411 }
412
414 {
415 return SendMessageW(TB_GETITEMRECT, index, reinterpret_cast<LPARAM>(prcItem));
416 }
417
419 {
421 }
422
424 {
426 }
427
428 DWORD SetPadding(int x, int y)
429 {
431 }
432
433public: // Image list management methods
435 {
436 return (HIMAGELIST)SendMessageW(TB_SETIMAGELIST, 0, reinterpret_cast<LPARAM>(himl));
437 }
438
439public: // Other methods
441 {
442 return (INT) SendMessageW(TB_HITTEST, 0, reinterpret_cast<LPARAM>(ppt));
443 }
444
445public: // Utility methods
446 TItemData * GetItemData(int index)
447 {
448 TBBUTTON btn;
449 GetButton(index, &btn);
450 return (TItemData*) btn.dwData;
451 }
452
453 DWORD SetItemData(int index, TItemData * data)
454 {
455 TBBUTTONINFOW info = { 0 };
456 info.cbSize = sizeof(info);
457 info.dwMask = TBIF_BYINDEX | TBIF_LPARAM;
458 info.lParam = (DWORD_PTR) data;
459 return SetButtonInfo(index, &info);
460 }
461};
462
464 public CWindow
465{
466public:
468 {
470 }
471
473 {
474 m_hWnd = CreateWindowExW(0,
476 NULL,
478 0, 0, 0, 0,
480 hMenu,
481 _AtlBaseModule.GetModuleInstance(),
482 NULL);
483
484 return m_hWnd;
485 }
486
487};
488
490 public CWindow
491{
492public:
494 {
495 if (!dwStyles)
496 {
498 }
499
502 L"",
503 dwStyles,
504 0, 28, 200, 350,
506 NULL,
507 _AtlBaseModule.GetModuleInstance(),
508 NULL);
509
510 return m_hWnd;
511 }
512
513 HTREEITEM AddItem(HTREEITEM hParent, LPWSTR lpText, INT Image, INT SelectedImage, LPARAM lParam)
514 {
515 TVINSERTSTRUCTW Insert;
516
517 ZeroMemory(&Insert, sizeof(TV_INSERTSTRUCT));
518
520 Insert.hInsertAfter = TVI_LAST;
521 Insert.hParent = hParent;
522 Insert.item.iSelectedImage = SelectedImage;
523 Insert.item.iImage = Image;
524 Insert.item.lParam = lParam;
525 Insert.item.pszText = lpText;
526
527 return InsertItem(&Insert);
528 }
529
531 {
533 }
534
536 {
537 return (BOOL) SendMessage(TVM_SETBKCOLOR, 0, cr);
538 }
539
541 {
542 return (BOOL) SendMessage(TVM_SETTEXTCOLOR, 0, cr);
543 }
544
546 {
547 return (HIMAGELIST) SendMessage(TVM_SETIMAGELIST, iImageList, reinterpret_cast<LPARAM>(himl));
548 }
549
551 {
552 return (HTREEITEM) SendMessage(TVM_INSERTITEM, 0, reinterpret_cast<LPARAM>(pitem));
553 }
554
556 {
557 return (BOOL) SendMessage(TVM_DELETEITEM, 0, (LPARAM)i);
558 }
559
561 {
562 return (BOOL) SendMessage(TVM_GETITEM, 0, reinterpret_cast<LPARAM>(pitem));
563 }
564
565 BOOL SetItem(const TV_ITEM * pitem)
566 {
567 return (BOOL) SendMessage(TVM_SETITEM, 0, reinterpret_cast<LPARAM>(pitem));
568 }
569
571 {
573 }
574
576 {
578 }
579
581 {
582 return (HWND) SendMessage(TVM_EDITLABEL, 0, (LPARAM)i);
583 }
584
586 {
588 }
589
591 {
593 }
594
596 {
597 return (HTREEITEM) SendMessage(TVM_HITTEST, 0, reinterpret_cast<LPARAM>(phtInfo));
598 }
599
601 {
602 TVITEMW lvItem;
603 lvItem.hItem = item;
604 lvItem.mask = TVIF_PARAM;
605 BOOL ret = GetItem(&lvItem);
606 return (DWORD_PTR) (ret ? lvItem.lParam : NULL);
607 }
608
610 {
611 return GetNextItem(NULL, TVGN_CARET);
612 }
613
615 {
617 }
618
620 {
622 }
623
624};
625
627 public CWindow
628{
629public: // Configuration methods
630
632 {
633 RECT r = { 0 };
634 return CWindow::Create(TOOLTIPS_CLASS, hWndParent, r, L"", dwStyles, dwExStyles);
635 }
636
637public: // Relay event
638
639 // Win7+: Can use GetMessageExtraInfo to provide the WPARAM value.
640 VOID RelayEvent(MSG * pMsg, WPARAM extraInfo = 0)
641 {
642 SendMessageW(TTM_RELAYEVENT, extraInfo, reinterpret_cast<LPARAM>(pMsg));
643 }
644
645public: // Helpers
646
648 {
649 return SendMessageW(TTM_GETTOOLCOUNT, 0, 0);
650 }
651
653 {
654 return SendMessageW(TTM_ADDTOOL, 0, reinterpret_cast<LPARAM>(pInfo));
655 }
656
657 VOID DelTool(IN HWND hwndToolOwner, IN UINT uId)
658 {
659 TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
660 info.hwnd = hwndToolOwner;
661 info.uId = uId;
662 SendMessageW(TTM_DELTOOL, 0, reinterpret_cast<LPARAM>(&info));
663 }
664
665 VOID NewToolRect(IN HWND hwndToolOwner, IN UINT uId, IN RECT rect)
666 {
667 TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
668 info.hwnd = hwndToolOwner;
669 info.uId = uId;
670 info.rect = rect;
671 SendMessageW(TTM_NEWTOOLRECT, 0, reinterpret_cast<LPARAM>(&info));
672 }
673
674 BOOL GetToolInfo(IN HWND hwndToolOwner, IN UINT uId, IN OUT TTTOOLINFOW * pInfo)
675 {
676 pInfo->hwnd = hwndToolOwner;
677 pInfo->uId = uId;
678 return SendMessageW(TTM_GETTOOLINFO, 0, reinterpret_cast<LPARAM>(pInfo));
679 }
680
682 {
683 SendMessageW(TTM_SETTOOLINFO, 0, reinterpret_cast<LPARAM>(pInfo));
684 }
685
687 {
688 return SendMessageW(TTM_HITTEST, 0, reinterpret_cast<LPARAM>(pInfo));
689 }
690
692 {
693 TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
694 info.hwnd = hwndToolOwner;
695 info.uId = uId;
696 info.lpszText = pBuffer;
697 SendMessageW(TTM_GETTEXT, cchBuffer, reinterpret_cast<LPARAM>(&info));
698 }
699
700 VOID UpdateTipText(IN HWND hwndToolOwner, IN UINT uId, IN PCWSTR szText, IN HINSTANCE hinstResourceOwner = NULL)
701 {
702 TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
703 info.hwnd = hwndToolOwner;
704 info.uId = uId;
705 info.lpszText = const_cast<PWSTR>(szText);
706 info.hinst = hinstResourceOwner;
707 SendMessageW(TTM_UPDATETIPTEXT, 0, reinterpret_cast<LPARAM>(&info));
708 }
709
711 {
712 return SendMessageW(TTM_ENUMTOOLS, 0, reinterpret_cast<LPARAM>(pInfo));
713 }
714
716 {
717 return SendMessageW(TTM_GETCURRENTTOOL, 0, reinterpret_cast<LPARAM>(pInfo));
718 }
719
721 {
722 SendMessageW(TTM_GETTITLE, 0, reinterpret_cast<LPARAM>(pTitleInfo));
723 }
724
725 BOOL SetTitle(PCWSTR szTitleText, WPARAM icon = 0)
726 {
727 return SendMessageW(TTM_SETTITLE, icon, reinterpret_cast<LPARAM>(szTitleText));
728 }
729
730 VOID TrackActivate(IN HWND hwndToolOwner, IN UINT uId)
731 {
732 TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
733 info.hwnd = hwndToolOwner;
734 info.uId = uId;
735 SendMessageW(TTM_TRACKACTIVATE, TRUE, reinterpret_cast<LPARAM>(&info));
736 }
737
739 {
741 }
742
744 {
746 }
747
748 // Opens the tooltip
750 {
752 }
753
754 // Closes the tooltip - Pressing the [X] for a TTF_CLOSE balloon is equivalent to calling this
756 {
758 }
759
760 // Delay times for AUTOMATIC tooltips (they don't affect balloons)
762 {
764 }
765
767 {
769 }
770
771 // Activates or deactivates the automatic tooltip display when hovering a control
772 VOID Activate(IN BOOL bActivate = TRUE)
773 {
774 SendMessageW(TTM_ACTIVATE, bActivate);
775 }
776
777 // Adjusts the position of a tooltip when used to display trimmed text
778 VOID AdjustRect(IN BOOL bTextToWindow, IN OUT RECT * pRect)
779 {
780 SendMessageW(TTM_ADJUSTRECT, bTextToWindow, reinterpret_cast<LPARAM>(pRect));
781 }
782
783 // Useful for TTF_ABSOLUTE|TTF_TRACK tooltip positioning
785 {
786 DWORD ret = SendMessageW(TTM_GETBUBBLESIZE, 0, reinterpret_cast<LPARAM>(pInfo));
787 const SIZE sz = { LOWORD(ret), HIWORD(ret) };
788 return sz;
789 }
790
791 // Fills the RECT with the margin size previously set. Default is 0 margins.
793 {
794 SendMessageW(TTM_GETMARGIN, 0, reinterpret_cast<LPARAM>(pRect));
795 }
796
798 {
799 SendMessageW(TTM_SETMARGIN, 0, reinterpret_cast<LPARAM>(pRect));
800 }
801
802 // Gets a previously established max width. Returns -1 if no limit is set
804 {
806 }
807
809 {
811 }
812
813 // Get the color of the tooltip text
815 {
817 }
818
820 {
822 }
823
825 {
827 }
828
830 {
832 }
833
835 {
836 SendMessageW(TTM_SETWINDOWTHEME, 0, reinterpret_cast<LPARAM>(szThemeName));
837 }
838
839 // Forces redraw
841 {
843 }
844
846 {
847 return reinterpret_cast<HWND>(SendMessageW(TTM_WINDOWFROMPOINT, 0, reinterpret_cast<LPARAM>(pPoint)));
848 }
849};
static int state
Definition: maze.c:121
#define U(x)
Definition: wordpad.c:45
HIMAGELIST himl
int GetNextItem(int i, WORD flags)
Definition: rosctrls.h:166
UINT GetItemState(int i, UINT mask)
Definition: rosctrls.h:178
BOOL SetTextBkColor(COLORREF cr)
Definition: rosctrls.h:32
BOOL DeleteAllItems()
Definition: rosctrls.h:131
int InsertItem(const LV_ITEM *pitem)
Definition: rosctrls.h:101
BOOL GetSelectedItem(LV_ITEM *pItem)
Definition: rosctrls.h:218
DWORD SetExtendedListViewStyle(DWORD dw, DWORD dwMask=0)
Definition: rosctrls.h:47
BOOL FindItem(int iStart, const LV_FINDINFO *plvfi)
Definition: rosctrls.h:121
void SetRedraw(BOOL redraw)
Definition: rosctrls.h:27
BOOL SortItems(PFNLVCOMPARE pfnCompare, PVOID lParam)
Definition: rosctrls.h:146
void SetItemState(int i, UINT state, UINT mask)
Definition: rosctrls.h:183
void SetCheckState(int i, BOOL check)
Definition: rosctrls.h:199
int GetItemCount()
Definition: rosctrls.h:126
HWND EditLabel(int i)
Definition: rosctrls.h:156
int GetColumnWidth(int iCol)
Definition: rosctrls.h:86
DWORD_PTR GetItemData(int i)
Definition: rosctrls.h:209
void GetItemText(int iItem, int iSubItem, LPTSTR pszText, int cchTextMax)
Definition: rosctrls.h:226
BOOL SetTextColor(COLORREF cr)
Definition: rosctrls.h:42
HIMAGELIST SetImageList(HIMAGELIST himl, int iImageList)
Definition: rosctrls.h:96
int InsertColumn(int iCol, LV_COLUMN *pcol)
Definition: rosctrls.h:52
BOOL EnsureVisible(int i, BOOL fPartialOK)
Definition: rosctrls.h:151
int InsertColumn(int iCol, LPWSTR pszText, int fmt, int width=-1, int iSubItem=-1, int iImage=-1, int iOrder=-1)
Definition: rosctrls.h:57
BOOL SetItemText(int i, int subItem, LPCWSTR text)
Definition: rosctrls.h:191
BOOL SetItemPosition(int nItem, POINT *pPoint)
Definition: rosctrls.h:241
BOOL GetItem(LV_ITEM *pitem)
Definition: rosctrls.h:111
BOOL Update(int i)
Definition: rosctrls.h:136
UINT GetSelectedCount()
Definition: rosctrls.h:141
BOOL Arrange(UINT nCode)
Definition: rosctrls.h:246
void GetItemSpacing(SIZE &spacing, BOOL bSmallIconView=FALSE)
Definition: rosctrls.h:171
BOOL DeleteItem(int i)
Definition: rosctrls.h:106
BOOL SetItem(const LV_ITEM *pitem)
Definition: rosctrls.h:116
int HitTest(LV_HITTESTINFO *phtInfo)
Definition: rosctrls.h:204
BOOL GetItemPosition(int nItem, POINT *pPoint)
Definition: rosctrls.h:236
BOOL SetBkColor(COLORREF cr)
Definition: rosctrls.h:37
int GetSelectionMark()
Definition: rosctrls.h:161
HWND Create(HWND hWndParent, _U_RECT rect, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, _U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
Definition: rosctrls.h:8
BOOL SetColumnWidth(int iCol, int width)
Definition: rosctrls.h:91
VOID SetText(LPCWSTR lpszText)
Definition: rosctrls.h:467
HWND Create(HWND hwndParent, HMENU hMenu)
Definition: rosctrls.h:472
DWORD AutoSize()
Definition: rosctrls.h:388
DWORD GetButton(int index, TBBUTTON *btn)
Definition: rosctrls.h:327
DWORD DeleteButton(int index)
Definition: rosctrls.h:352
DWORD AddButton(TBBUTTON *btn)
Definition: rosctrls.h:332
DWORD SetHotItem(INT item)
Definition: rosctrls.h:311
DWORD InsertButton(int insertAt, TBBUTTON *btn)
Definition: rosctrls.h:342
DWORD SetDrawTextFlags(DWORD useBits, DWORD bitState)
Definition: rosctrls.h:316
DWORD AddButtons(int count, TBBUTTON *buttons)
Definition: rosctrls.h:337
DWORD GetMaxSize(LPSIZE size)
Definition: rosctrls.h:393
HWND Create(HWND hWndParent, DWORD dwStyles=0, DWORD dwExStyles=0)
Definition: rosctrls.h:261
DWORD MoveButton(int oldIndex, int newIndex)
Definition: rosctrls.h:347
DWORD GetButtonSize()
Definition: rosctrls.h:378
INT GetHotItem()
Definition: rosctrls.h:306
DWORD SetButtonStructSize()
Definition: rosctrls.h:291
DWORD SetRedraw(BOOL bEnable)
Definition: rosctrls.h:418
int GetButtonCount()
Definition: rosctrls.h:322
DWORD GetItemRect(int index, LPRECT prcItem)
Definition: rosctrls.h:413
DWORD CheckButton(int cmdId, BOOL bCheck)
Definition: rosctrls.h:367
DWORD SetPadding(int x, int y)
Definition: rosctrls.h:428
DWORD SetItemData(int index, TItemData *data)
Definition: rosctrls.h:453
DWORD SetMetrics(TBMETRICS *tbm)
Definition: rosctrls.h:408
TItemData * GetItemData(int index)
Definition: rosctrls.h:446
DWORD SetButtonInfo(int cmdId, TBBUTTONINFO *info)
Definition: rosctrls.h:362
DWORD SetTooltip(HWND hWndTooltip)
Definition: rosctrls.h:301
HWND GetTooltip()
Definition: rosctrls.h:296
HIMAGELIST SetImageList(HIMAGELIST himl)
Definition: rosctrls.h:434
DWORD GetButtonInfo(int cmdId, TBBUTTONINFO *info)
Definition: rosctrls.h:357
INT HitTest(PPOINT ppt)
Definition: rosctrls.h:440
DWORD HideButton(int cmdId, BOOL bHide)
Definition: rosctrls.h:372
DWORD GetMetrics(TBMETRICS *tbm)
Definition: rosctrls.h:403
DWORD SetButtonSize(int w, int h)
Definition: rosctrls.h:383
DWORD GetIdealSize(BOOL useHeight, LPSIZE size)
Definition: rosctrls.h:398
DWORD GetPadding()
Definition: rosctrls.h:423
INT GetDelayTime(UINT which)
Definition: rosctrls.h:761
VOID Activate(IN BOOL bActivate=TRUE)
Definition: rosctrls.h:772
INT GetToolCount()
Definition: rosctrls.h:647
VOID SetToolInfo(IN CONST TTTOOLINFOW *pInfo)
Definition: rosctrls.h:681
VOID GetText(IN HWND hwndToolOwner, IN UINT uId, OUT PWSTR pBuffer, IN DWORD cchBuffer)
Definition: rosctrls.h:691
VOID SetTipBkColor(IN COLORREF textColor)
Definition: rosctrls.h:829
COLORREF GetTipTextColor()
Definition: rosctrls.h:814
HWND WindowFromPoint(IN POINT *pPoint)
Definition: rosctrls.h:845
INT SetMaxTipWidth(IN OPTIONAL INT width=-1)
Definition: rosctrls.h:808
BOOL AddTool(IN CONST TTTOOLINFOW *pInfo)
Definition: rosctrls.h:652
VOID Popup()
Definition: rosctrls.h:749
VOID SetDelayTime(UINT which, WORD time)
Definition: rosctrls.h:766
VOID Pop()
Definition: rosctrls.h:755
VOID SetMargin(IN RECT *pRect)
Definition: rosctrls.h:797
VOID DelTool(IN HWND hwndToolOwner, IN UINT uId)
Definition: rosctrls.h:657
COLORREF GetTipBkColor()
Definition: rosctrls.h:824
VOID TrackDeactivate()
Definition: rosctrls.h:738
INT GetMaxTipWidth()
Definition: rosctrls.h:803
BOOL HitTest(IN CONST TTHITTESTINFOW *pInfo)
Definition: rosctrls.h:686
VOID UpdateTipText(IN HWND hwndToolOwner, IN UINT uId, IN PCWSTR szText, IN HINSTANCE hinstResourceOwner=NULL)
Definition: rosctrls.h:700
BOOL SetTitle(PCWSTR szTitleText, WPARAM icon=0)
Definition: rosctrls.h:725
VOID TrackActivate(IN HWND hwndToolOwner, IN UINT uId)
Definition: rosctrls.h:730
VOID Update()
Definition: rosctrls.h:840
VOID GetMargin(OUT RECT *pRect)
Definition: rosctrls.h:792
VOID NewToolRect(IN HWND hwndToolOwner, IN UINT uId, IN RECT rect)
Definition: rosctrls.h:665
VOID SetWindowTheme(IN PCWSTR szThemeName)
Definition: rosctrls.h:834
VOID AdjustRect(IN BOOL bTextToWindow, IN OUT RECT *pRect)
Definition: rosctrls.h:778
SIZE GetBubbleSize(IN TTTOOLINFOW *pInfo)
Definition: rosctrls.h:784
BOOL GetToolInfo(IN HWND hwndToolOwner, IN UINT uId, IN OUT TTTOOLINFOW *pInfo)
Definition: rosctrls.h:674
VOID RelayEvent(MSG *pMsg, WPARAM extraInfo=0)
Definition: rosctrls.h:640
BOOL EnumTools(IN CONST TTTOOLINFOW *pInfo)
Definition: rosctrls.h:710
VOID GetTitle(TTGETTITLE *pTitleInfo)
Definition: rosctrls.h:720
BOOL GetCurrentTool(OUT OPTIONAL TTTOOLINFOW *pInfo=NULL)
Definition: rosctrls.h:715
VOID SetTipTextColor(IN COLORREF textColor)
Definition: rosctrls.h:819
HWND Create(HWND hWndParent, DWORD dwStyles=WS_POPUP|TTS_NOPREFIX, DWORD dwExStyles=WS_EX_TOPMOST)
Definition: rosctrls.h:631
VOID TrackPosition(IN WORD x, IN WORD y)
Definition: rosctrls.h:743
BOOL Expand(HTREEITEM item, DWORD action)
Definition: rosctrls.h:614
BOOL SetItem(const TV_ITEM *pitem)
Definition: rosctrls.h:565
HIMAGELIST SetImageList(HIMAGELIST himl, int iImageList)
Definition: rosctrls.h:545
HWND Create(HWND hwndParent, DWORD dwStyles=0)
Definition: rosctrls.h:493
BOOL DeleteItem(HTREEITEM i)
Definition: rosctrls.h:555
BOOL GetItem(TV_ITEM *pitem)
Definition: rosctrls.h:560
BOOL SelectItem(HTREEITEM item, DWORD action=TVGN_CARET)
Definition: rosctrls.h:619
HTREEITEM HitTest(TVHITTESTINFO *phtInfo)
Definition: rosctrls.h:595
int GetItemCount()
Definition: rosctrls.h:570
DWORD_PTR GetItemData(HTREEITEM item)
Definition: rosctrls.h:600
HTREEITEM AddItem(HTREEITEM hParent, LPWSTR lpText, INT Image, INT SelectedImage, LPARAM lParam)
Definition: rosctrls.h:513
HTREEITEM GetNextItem(HTREEITEM i, WORD flags)
Definition: rosctrls.h:585
UINT GetItemState(int i, UINT mask)
Definition: rosctrls.h:590
void SetRedraw(BOOL redraw)
Definition: rosctrls.h:530
HTREEITEM GetSelection()
Definition: rosctrls.h:609
BOOL SetBkColor(COLORREF cr)
Definition: rosctrls.h:535
BOOL EnsureVisible(HTREEITEM i)
Definition: rosctrls.h:575
HTREEITEM InsertItem(const TVINSERTSTRUCTW *pitem)
Definition: rosctrls.h:550
HWND EditLabel(HTREEITEM i)
Definition: rosctrls.h:580
BOOL SetTextColor(COLORREF cr)
Definition: rosctrls.h:540
RECT rect
Definition: combotst.c:67
LPARAM lParam
Definition: combotst.c:139
static HWND hwndParent
Definition: cryptui.c:299
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static DWORD cchBuffer
Definition: fusion.c:85
const WCHAR * text
Definition: package.c:1826
#define check(expected, result)
Definition: dplayx.c:43
return ret
Definition: mutex.c:147
action
Definition: namespace.c:714
#define L(x)
Definition: resources.c:13
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLint GLint GLsizei width
Definition: gl.h:1546
GLsizeiptr size
Definition: glext.h:5919
GLuint index
Definition: glext.h:6031
GLenum GLint GLuint mask
Definition: glext.h:6028
GLbitfield flags
Definition: glext.h:7161
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:6102
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
unsigned int UINT
Definition: sysinfo.c:13
REFIID LPVOID DWORD_PTR dw
Definition: atlbase.h:40
#define ZeroMemory
Definition: minwinbase.h:31
LONG_PTR LPARAM
Definition: minwindef.h:175
UINT_PTR WPARAM
Definition: minwindef.h:174
__u16 time
Definition: mkdosfs.c:8
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60
LPSTR LPTSTR
Definition: ms-dtyp.idl:131
LPCSTR LPCTSTR
Definition: ms-dtyp.idl:130
#define LOWORD(l)
Definition: pedump.c:82
#define WS_CHILD
Definition: pedump.c:617
#define CONST
Definition: pedump.c:81
#define WS_POPUP
Definition: pedump.c:616
#define WS_VISIBLE
Definition: pedump.c:620
#define WS_EX_TOPMOST
Definition: pedump.c:647
#define WS_CLIPCHILDREN
Definition: pedump.c:619
#define TB_GETTOOLTIPS
Definition: commctrl.h:1138
#define TB_INSERTBUTTON
Definition: commctrl.h:1270
#define LVM_SETITEMTEXT
Definition: commctrl.h:2694
#define TTM_SETDELAYTIME
Definition: commctrl.h:1790
#define TTM_GETCURRENTTOOL
Definition: commctrl.h:1853
#define LVM_DELETEALLITEMS
Definition: commctrl.h:2418
#define TTM_ACTIVATE
Definition: commctrl.h:1789
#define TVM_GETCOUNT
Definition: commctrl.h:3436
#define LVCF_ORDER
Definition: commctrl.h:2596
#define LVM_ARRANGE
Definition: commctrl.h:2537
#define TB_GETMETRICS
Definition: commctrl.h:1302
#define TB_ADDBUTTONS
Definition: commctrl.h:1271
#define TVI_LAST
Definition: commctrl.h:3375
#define TTM_GETMAXTIPWIDTH
Definition: commctrl.h:1825
#define TTM_ENUMTOOLS
Definition: commctrl.h:1852
#define TB_AUTOSIZE
Definition: commctrl.h:1137
#define LVM_SETTEXTCOLOR
Definition: commctrl.h:2663
#define TVIF_TEXT
Definition: commctrl.h:3271
#define TTM_UPDATETIPTEXT
Definition: commctrl.h:1851
#define LVM_GETITEMCOUNT
Definition: commctrl.h:2311
#define LVM_GETITEMSTATE
Definition: commctrl.h:2680
#define TB_GETIDEALSIZE
Definition: commctrl.h:1284
#define TB_SETTOOLTIPS
Definition: commctrl.h:1139
#define LVM_GETITEMSPACING
Definition: commctrl.h:2716
#define SBT_NOBORDERS
Definition: commctrl.h:1976
#define LVM_GETITEMTEXT
Definition: commctrl.h:2687
#define LVM_SETCOLUMNWIDTH
Definition: commctrl.h:2651
#define TB_SETPADDING
Definition: commctrl.h:1193
#define LVM_SETBKCOLOR
Definition: commctrl.h:2298
#define TTM_GETTIPTEXTCOLOR
Definition: commctrl.h:1823
#define LVCF_IMAGE
Definition: commctrl.h:2595
#define TTM_POPUP
Definition: commctrl.h:1835
#define TTM_RELAYEVENT
Definition: commctrl.h:1797
#define LVNI_SELECTED
Definition: commctrl.h:2429
#define LVM_GETITEMPOSITION
Definition: commctrl.h:2488
#define TB_DELETEBUTTON
Definition: commctrl.h:1108
#define TVIF_IMAGE
Definition: commctrl.h:3272
#define TBBUTTONINFO
Definition: commctrl.h:1254
#define TB_GETHOTITEM
Definition: commctrl.h:1170
#define LVM_SETITEMSTATE
Definition: commctrl.h:2677
#define TB_GETBUTTONINFO
Definition: commctrl.h:1262
#define LVM_SETITEMPOSITION
Definition: commctrl.h:2485
#define TBIF_LPARAM
Definition: commctrl.h:1223
struct tagTOOLINFOW TTTOOLINFOW
#define TTM_GETMARGIN
Definition: commctrl.h:1827
#define TTM_SETTOOLINFO
Definition: commctrl.h:1848
#define TVM_SETTEXTCOLOR
Definition: commctrl.h:3582
#define LVM_SETITEM
Definition: commctrl.h:2404
#define LVM_UPDATE
Definition: commctrl.h:2675
#define LVM_INSERTITEM
Definition: commctrl.h:2411
#define LVCF_WIDTH
Definition: commctrl.h:2592
#define TB_BUTTONSTRUCTSIZE
Definition: commctrl.h:1134
#define TB_CHECKBUTTON
Definition: commctrl.h:1043
#define TB_GETBUTTONSIZE
Definition: commctrl.h:1160
#define LVM_SETIMAGELIST
Definition: commctrl.h:2308
#define STATUSCLASSNAMEW
Definition: commctrl.h:1941
#define TVS_SHOWSELALWAYS
Definition: commctrl.h:3257
#define TTM_GETDELAYTIME
Definition: commctrl.h:1821
#define TTM_POP
Definition: commctrl.h:1828
#define LVM_GETNEXTITEM
Definition: commctrl.h:2438
#define TVS_HASLINES
Definition: commctrl.h:3253
#define LVM_ENSUREVISIBLE
Definition: commctrl.h:2523
#define TTM_SETTITLE
Definition: commctrl.h:1854
#define LVM_INSERTCOLUMN
Definition: commctrl.h:2639
#define TB_SETIMAGELIST
Definition: commctrl.h:1150
#define TV_INSERTSTRUCT
Definition: commctrl.h:3382
#define TOOLTIPS_CLASS
Definition: commctrl.h:1710
#define TTM_GETTOOLINFO
Definition: commctrl.h:1847
#define TVM_DELETEITEM
Definition: commctrl.h:3419
#define TTM_GETTEXT
Definition: commctrl.h:1850
#define TTM_TRACKPOSITION
Definition: commctrl.h:1818
#define TB_GETBUTTON
Definition: commctrl.h:1109
#define TVM_SETBKCOLOR
Definition: commctrl.h:3580
#define TTM_UPDATE
Definition: commctrl.h:1829
#define TB_GETMAXSIZE
Definition: commctrl.h:1189
#define TB_SETMETRICS
Definition: commctrl.h:1303
#define LV_FINDINFO
Definition: commctrl.h:2450
#define TB_SETBUTTONSIZE
Definition: commctrl.h:1135
#define TTM_GETTOOLCOUNT
Definition: commctrl.h:1811
#define TV_ITEM
Definition: commctrl.h:3305
#define TVM_SELECTITEM
Definition: commctrl.h:3483
#define WC_TREEVIEWW
Definition: commctrl.h:3248
#define LVIF_PARAM
Definition: commctrl.h:2316
#define TVM_INSERTITEM
Definition: commctrl.h:3415
#define WC_LISTVIEW
Definition: commctrl.h:2264
#define LV_ITEM
Definition: commctrl.h:2342
#define TVM_EDITLABEL
Definition: commctrl.h:3507
#define LVM_EDITLABEL
Definition: commctrl.h:2543
#define TTM_HITTEST
Definition: commctrl.h:1849
#define TTM_WINDOWFROMPOINT
Definition: commctrl.h:1816
#define TVM_SETITEM
Definition: commctrl.h:3500
#define TTM_GETTIPBKCOLOR
Definition: commctrl.h:1822
#define TB_SETDRAWTEXTFLAGS
Definition: commctrl.h:1273
#define TB_GETITEMRECT
Definition: commctrl.h:1133
#define TTM_SETMARGIN
Definition: commctrl.h:1826
#define LVM_DELETEITEM
Definition: commctrl.h:2415
#define TB_HIDEBUTTON
Definition: commctrl.h:1045
#define TBIF_BYINDEX
Definition: commctrl.h:1226
#define TTM_DELTOOL
Definition: commctrl.h:1845
#define TTM_SETWINDOWTHEME
Definition: commctrl.h:1856
#define TVM_ENSUREVISIBLE
Definition: commctrl.h:3549
#define TVM_SETIMAGELIST
Definition: commctrl.h:3451
#define LVCF_FMT
Definition: commctrl.h:2591
#define TTM_ADJUSTRECT
Definition: commctrl.h:1831
#define LVM_GETSELECTIONMARK
Definition: commctrl.h:2793
#define TTM_SETTIPBKCOLOR
Definition: commctrl.h:1819
#define LVCF_SUBITEM
Definition: commctrl.h:2594
#define TOOLBARCLASSNAME
Definition: commctrl.h:946
#define LV_HITTESTINFO
Definition: commctrl.h:2509
#define TTM_SETTIPTEXTCOLOR
Definition: commctrl.h:1820
#define TVGN_CARET
Definition: commctrl.h:3466
#define TVM_HITTEST
Definition: commctrl.h:3517
#define INDEXTOSTATEIMAGEMASK(i)
Definition: commctrl.h:2333
#define LVM_GETITEM
Definition: commctrl.h:2397
#define SB_SETTEXT
Definition: commctrl.h:1954
#define TTS_NOPREFIX
Definition: commctrl.h:1758
#define LVM_GETSELECTEDCOUNT
Definition: commctrl.h:2713
#define TB_SETBUTTONINFO
Definition: commctrl.h:1263
#define TB_HITTEST
Definition: commctrl.h:1268
#define LVM_SETTEXTBKCOLOR
Definition: commctrl.h:2667
#define SBARS_SIZEGRIP
Definition: commctrl.h:1928
#define TVIF_PARAM
Definition: commctrl.h:3273
#define TB_GETPADDING
Definition: commctrl.h:1192
#define TB_SETHOTITEM
Definition: commctrl.h:1171
#define LVCF_TEXT
Definition: commctrl.h:2593
#define TTM_ADDTOOL
Definition: commctrl.h:1844
#define LVIS_STATEIMAGEMASK
Definition: commctrl.h:2331
#define TB_MOVEBUTTON
Definition: commctrl.h:1188
#define LVM_SORTITEMS
Definition: commctrl.h:2707
#define TTM_GETTITLE
Definition: commctrl.h:1836
#define LVM_GETCOLUMNWIDTH
Definition: commctrl.h:2646
#define TTM_TRACKACTIVATE
Definition: commctrl.h:1817
#define TB_BUTTONCOUNT
Definition: commctrl.h:1110
int(CALLBACK * PFNLVCOMPARE)(LPARAM, LPARAM, LPARAM)
Definition: commctrl.h:2705
#define TTM_NEWTOOLRECT
Definition: commctrl.h:1846
#define LVM_HITTEST
Definition: commctrl.h:2520
#define TVIF_SELECTEDIMAGE
Definition: commctrl.h:3276
#define TVM_EXPAND
Definition: commctrl.h:3424
#define TTM_GETBUBBLESIZE
Definition: commctrl.h:1830
#define LVM_FINDITEM
Definition: commctrl.h:2473
#define TVM_GETITEM
Definition: commctrl.h:3493
#define LVM_SETEXTENDEDLISTVIEWSTYLE
Definition: commctrl.h:2729
#define LV_COLUMN
Definition: commctrl.h:2552
#define TTM_SETMAXTIPWIDTH
Definition: commctrl.h:1824
#define TVM_GETNEXTITEM
Definition: commctrl.h:3454
#define LVNI_ALL
Definition: commctrl.h:2427
#define CreateWindowEx
Definition: winuser.h:5921
#define MAKELPARAM(l, h)
Definition: winuser.h:4116
#define WS_EX_TOOLWINDOW
Definition: winuser.h:404
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
#define SendMessage
Definition: winuser.h:6009
#define WS_EX_CLIENTEDGE
Definition: winuser.h:384
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define WM_SETREDRAW
Definition: winuser.h:1644
void redraw(int x, int y, int cx, int cy)
Definition: qtewin.cpp:1248
PVOID pBuffer
HWND buttons[5]
Definition: sndrec32.cpp:40
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
long y
Definition: dcommon.idl:24
long x
Definition: dcommon.idl:24
Definition: dcommon.idl:28
long bottom
Definition: dcommon.idl:29
long right
Definition: dcommon.idl:29
long left
Definition: dcommon.idl:29
long top
Definition: dcommon.idl:29
LONG cx
Definition: kdterminal.h:27
LONG cy
Definition: kdterminal.h:28
DWORD_PTR dwData
Definition: commctrl.h:958
Definition: dsound.c:943
UINT mask
Definition: commctrl.h:2365
LPARAM lParam
Definition: commctrl.h:2373
HTREEITEM hParent
Definition: commctrl.h:3398
HTREEITEM hInsertAfter
Definition: commctrl.h:3399
HTREEITEM hItem
Definition: commctrl.h:3322
LPARAM lParam
Definition: commctrl.h:3330
UINT mask
Definition: commctrl.h:3321
#define DWORD_PTR
Definition: treelist.c:76
#define TVM_GETITEMSTATE
Definition: treelist.h:336
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1829
uint16_t * PWSTR
Definition: typedefs.h:56
const uint16_t * PCWSTR
Definition: typedefs.h:57
const uint16_t * LPCWSTR
Definition: typedefs.h:57
uint32_t DWORD_PTR
Definition: typedefs.h:65
uint16_t * LPWSTR
Definition: typedefs.h:56
int32_t INT
Definition: typedefs.h:58
#define IN
Definition: typedefs.h:39
#define HIWORD(l)
Definition: typedefs.h:247
#define OUT
Definition: typedefs.h:40
static GLenum which
Definition: wgl_font.c:159
_In_ BOOL bEnable
Definition: winddi.h:3426
DWORD COLORREF
Definition: windef.h:100
_In_ UINT iStart
Definition: wingdi.h:4066