ReactOS  0.4.15-dev-1177-g6cb3b62
rosctrls.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 class CListView: public CWindow
5 {
6 public:
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,
12  WC_LISTVIEW,
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,
19  hWndParent,
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};
60  column.mask = LVCF_TEXT|LVCF_FMT;
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 
92  {
93  return (HIMAGELIST)SendMessage(LVM_SETIMAGELIST, iImageList, reinterpret_cast<LPARAM>(himl));
94  }
95 
96  int InsertItem(const LV_ITEM * pitem)
97  {
98  return (int)SendMessage(LVM_INSERTITEM, 0, reinterpret_cast<LPARAM>(pitem));
99  }
100 
102  {
103  return (BOOL)SendMessage(LVM_DELETEITEM, i, 0);
104  }
105 
107  {
108  return (BOOL)SendMessage(LVM_GETITEM, 0, reinterpret_cast<LPARAM>(pitem));
109  }
110 
111  BOOL SetItem(const LV_ITEM * pitem)
112  {
113  return (BOOL)SendMessage(LVM_SETITEM, 0, reinterpret_cast<LPARAM>(pitem));
114  }
115 
116  BOOL FindItem(int iStart, const LV_FINDINFO * plvfi)
117  {
118  return (BOOL)SendMessage(LVM_FINDITEM, iStart, (LPARAM) plvfi);
119  }
120 
122  {
124  }
125 
127  {
129  }
130 
131  BOOL Update(int i)
132  {
133  return (BOOL)SendMessage(LVM_UPDATE, i, 0);
134  }
135 
137  {
139  }
140 
142  {
143  return (BOOL)SendMessage(LVM_SORTITEMS, (WPARAM)lParam, (LPARAM) pfnCompare);
144  }
145 
146  BOOL EnsureVisible(int i, BOOL fPartialOK)
147  {
148  return (BOOL)SendMessage(LVM_ENSUREVISIBLE, i, MAKELPARAM((fPartialOK),0));
149  }
150 
152  {
153  return (HWND)SendMessage(LVM_EDITLABEL, i, 0);
154  }
155 
157  {
158  return (int)SendMessage(LVM_GETSELECTIONMARK);
159  }
160 
162  {
163  return (int)SendMessage(LVM_GETNEXTITEM, i, MAKELPARAM((flags),0));
164  }
165 
166  void GetItemSpacing(SIZE& spacing, BOOL bSmallIconView = FALSE)
167  {
168  DWORD ret = SendMessage(LVM_GETITEMSPACING, bSmallIconView);
169  spacing.cx = LOWORD(ret);
170  spacing.cy = HIWORD(ret);
171  }
172 
174  {
176  }
177 
179  {
180  LV_ITEM item;
181  item.stateMask = mask;
182  item.state = state;
183  SendMessage(LVM_SETITEMSTATE, i, reinterpret_cast<LPARAM>(&item));
184  }
185 
186  BOOL SetItemText(int i, int subItem, LPCWSTR text)
187  {
188  LVITEMW item;
189  item.iSubItem = subItem;
190  item.pszText = (LPWSTR)text;
192  }
193 
195  {
197  }
198 
199  int HitTest(LV_HITTESTINFO * phtInfo)
200  {
201  return (int)SendMessage(LVM_HITTEST, 0, reinterpret_cast<LPARAM>(phtInfo));
202  }
203 
205  {
206  LVITEMW lvItem = { 0 };
207  lvItem.mask = LVIF_PARAM;
208  lvItem.iItem = i;
209  BOOL ret = GetItem(&lvItem);
210  return (DWORD_PTR)(ret ? lvItem.lParam : NULL);
211  }
212 
214  {
215  pItem->iItem = GetNextItem(-1, LVNI_ALL | LVNI_SELECTED);
216  if (pItem->iItem == -1)
217  return FALSE;
218  return GetItem(pItem);
219  }
220 
221  void GetItemText(int iItem, int iSubItem, LPTSTR pszText, int cchTextMax)
222  {
223  LV_ITEM itemInfo;
224  itemInfo.iSubItem = iSubItem;
225  itemInfo.pszText = pszText;
226  itemInfo.cchTextMax = cchTextMax;
227 
228  SendMessage(LVM_GETITEMTEXT, iItem, (LPARAM) &itemInfo);
229  }
230 
231  BOOL GetItemPosition(int nItem, POINT* pPoint)
232  {
233  return (BOOL)SendMessage(LVM_GETITEMPOSITION, nItem, (LPARAM)pPoint);
234  }
235 
236  BOOL SetItemPosition(int nItem, POINT* pPoint)
237  {
238  return (BOOL)SendMessage(LVM_SETITEMPOSITION, nItem, MAKELPARAM(pPoint->x, pPoint->y));
239  }
240 
242  {
243  return (BOOL)SendMessage(LVM_ARRANGE, nCode, 0);
244  }
245 
246 };
247 
248 template<typename TItemData = DWORD_PTR>
249 class CToolbar :
250  public CWindow
251 {
252 public: // Configuration methods
253 
254  HWND Create(HWND hWndParent, DWORD dwStyles = 0, DWORD dwExStyles = 0)
255  {
256  if (!dwStyles)
257  {
258  dwStyles = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN;
259  }
260 
261  if (!dwExStyles)
262  {
263  dwExStyles = WS_EX_TOOLWINDOW;
264  }
265 
266  m_hWnd = CreateWindowExW(dwExStyles,
268  NULL,
269  dwStyles,
270  0, 0, 0, 0, hWndParent,
271  NULL,
272  _AtlBaseModule.GetModuleInstance(),
273  NULL);
274 
275  if (!m_hWnd)
276  return NULL;
277 
278  /* Identify the version we're using */
280 
281  return m_hWnd;
282  }
283 
285  {
286  return SendMessageW(TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0);
287  }
288 
290  {
292  }
293 
294  DWORD SetTooltip(HWND hWndTooltip)
295  {
296  return SendMessageW(TB_SETTOOLTIPS, reinterpret_cast<WPARAM>(hWndTooltip), 0);
297  }
298 
300  {
301  return SendMessageW(TB_GETHOTITEM);
302  }
303 
305  {
307  }
308 
309  DWORD SetDrawTextFlags(DWORD useBits, DWORD bitState)
310  {
311  return SendMessageW(TB_SETDRAWTEXTFLAGS, useBits, bitState);
312  }
313 
314 public: // Button list management methods
316  {
318  }
319 
321  {
322  return SendMessageW(TB_GETBUTTON, index, reinterpret_cast<LPARAM>(btn));
323  }
324 
326  {
327  return SendMessageW(TB_ADDBUTTONS, 1, reinterpret_cast<LPARAM>(btn));
328  }
329 
331  {
332  return SendMessageW(TB_ADDBUTTONS, count, reinterpret_cast<LPARAM>(buttons));
333  }
334 
335  DWORD InsertButton(int insertAt, TBBUTTON * btn)
336  {
337  return SendMessageW(TB_INSERTBUTTON, insertAt, reinterpret_cast<LPARAM>(btn));
338  }
339 
340  DWORD MoveButton(int oldIndex, int newIndex)
341  {
342  return SendMessageW(TB_MOVEBUTTON, oldIndex, newIndex);
343  }
344 
346  {
347  return SendMessageW(TB_DELETEBUTTON, index, 0);
348  }
349 
351  {
352  return SendMessageW(TB_GETBUTTONINFO, cmdId, reinterpret_cast<LPARAM>(info));
353  }
354 
356  {
357  return SendMessageW(TB_SETBUTTONINFO, cmdId, reinterpret_cast<LPARAM>(info));
358  }
359 
360  DWORD CheckButton(int cmdId, BOOL bCheck)
361  {
362  return SendMessageW(TB_CHECKBUTTON, cmdId, MAKELPARAM(bCheck, 0));
363  }
364 
365 public: // Layout management methods
367  {
369  }
370 
371  DWORD SetButtonSize(int w, int h)
372  {
374  }
375 
377  {
378  return SendMessageW(TB_AUTOSIZE);
379  }
380 
382  {
383  return SendMessageW(TB_GETMAXSIZE, 0, reinterpret_cast<LPARAM>(size));
384  }
385 
387  {
388  return SendMessageW(TB_GETIDEALSIZE, useHeight, reinterpret_cast<LPARAM>(size));
389  }
390 
392  {
393  return SendMessageW(TB_GETMETRICS, 0, reinterpret_cast<LPARAM>(tbm));
394  }
395 
397  {
398  return SendMessageW(TB_SETMETRICS, 0, reinterpret_cast<LPARAM>(tbm));
399  }
400 
402  {
403  return SendMessageW(TB_GETITEMRECT, index, reinterpret_cast<LPARAM>(prcItem));
404  }
405 
407  {
409  }
410 
412  {
413  return SendMessageW(TB_GETPADDING);
414  }
415 
416  DWORD SetPadding(int x, int y)
417  {
418  return SendMessageW(TB_SETPADDING, 0, MAKELPARAM(x, y));
419  }
420 
421 public: // Image list management methods
423  {
424  return (HIMAGELIST)SendMessageW(TB_SETIMAGELIST, 0, reinterpret_cast<LPARAM>(himl));
425  }
426 
427 public: // Other methods
429  {
430  return (INT) SendMessageW(TB_HITTEST, 0, reinterpret_cast<LPARAM>(ppt));
431  }
432 
433 public: // Utility methods
434  TItemData * GetItemData(int index)
435  {
436  TBBUTTON btn;
437  GetButton(index, &btn);
438  return (TItemData*) btn.dwData;
439  }
440 
441  DWORD SetItemData(int index, TItemData * data)
442  {
443  TBBUTTONINFOW info = { 0 };
444  info.cbSize = sizeof(info);
445  info.dwMask = TBIF_BYINDEX | TBIF_LPARAM;
446  info.lParam = (DWORD_PTR) data;
447  return SetButtonInfo(index, &info);
448  }
449 };
450 
451 class CStatusBar :
452  public CWindow
453 {
454 public:
455  VOID SetText(LPCWSTR lpszText)
456  {
458  }
459 
461  {
462  m_hWnd = CreateWindowExW(0,
464  NULL,
466  0, 0, 0, 0,
467  hwndParent,
468  hMenu,
469  _AtlBaseModule.GetModuleInstance(),
470  NULL);
471 
472  return m_hWnd;
473  }
474 
475 };
476 
477 class CTreeView :
478  public CWindow
479 {
480 public:
482  {
484  WC_TREEVIEWW,
485  L"",
487  0, 28, 200, 350,
488  hwndParent,
489  NULL,
490  _AtlBaseModule.GetModuleInstance(),
491  NULL);
492 
493  return m_hWnd;
494  }
495 
497  {
498  TVINSERTSTRUCTW Insert;
499 
500  ZeroMemory(&Insert, sizeof(TV_INSERTSTRUCT));
501 
503  Insert.hInsertAfter = TVI_LAST;
504  Insert.hParent = hParent;
505  Insert.item.iSelectedImage = SelectedImage;
506  Insert.item.iImage = Image;
507  Insert.item.lParam = lParam;
508  Insert.item.pszText = lpText;
509 
510  return InsertItem(&Insert);
511  }
512 
514  {
516  }
517 
519  {
520  return (BOOL) SendMessage(TVM_SETBKCOLOR, 0, cr);
521  }
522 
524  {
525  return (BOOL) SendMessage(TVM_SETTEXTCOLOR, 0, cr);
526  }
527 
529  {
530  return (HIMAGELIST) SendMessage(TVM_SETIMAGELIST, iImageList, reinterpret_cast<LPARAM>(himl));
531  }
532 
534  {
535  return (HTREEITEM) SendMessage(TVM_INSERTITEM, 0, reinterpret_cast<LPARAM>(pitem));
536  }
537 
539  {
540  return (BOOL) SendMessage(TVM_DELETEITEM, 0, (LPARAM)i);
541  }
542 
544  {
545  return (BOOL) SendMessage(TVM_GETITEM, 0, reinterpret_cast<LPARAM>(pitem));
546  }
547 
548  BOOL SetItem(const TV_ITEM * pitem)
549  {
550  return (BOOL) SendMessage(TVM_SETITEM, 0, reinterpret_cast<LPARAM>(pitem));
551  }
552 
554  {
555  return SendMessage(TVM_GETCOUNT);
556  }
557 
559  {
560  return (BOOL) SendMessage(TVM_ENSUREVISIBLE, 0, (LPARAM)i);
561  }
562 
564  {
565  return (HWND) SendMessage(TVM_EDITLABEL, 0, (LPARAM)i);
566  }
567 
569  {
571  }
572 
574  {
576  }
577 
579  {
580  return (HTREEITEM) SendMessage(TVM_HITTEST, 0, reinterpret_cast<LPARAM>(phtInfo));
581  }
582 
584  {
585  TVITEMW lvItem;
586  lvItem.hItem = item;
587  lvItem.mask = TVIF_PARAM;
588  BOOL ret = GetItem(&lvItem);
589  return (DWORD_PTR) (ret ? lvItem.lParam : NULL);
590  }
591 
593  {
594  return GetNextItem(NULL, TVGN_CARET);
595  }
596 
598  {
600  }
601 
603  {
605  }
606 
607 };
608 
609 class CTooltips :
610  public CWindow
611 {
612 public: // Configuration methods
613 
615  {
616  RECT r = { 0 };
617  return CWindow::Create(TOOLTIPS_CLASS, hWndParent, r, L"", dwStyles, dwExStyles);
618  }
619 
620 public: // Relay event
621 
622  // Win7+: Can use GetMessageExtraInfo to provide the WPARAM value.
623  VOID RelayEvent(MSG * pMsg, WPARAM extraInfo = 0)
624  {
625  SendMessageW(TTM_RELAYEVENT, extraInfo, reinterpret_cast<LPARAM>(pMsg));
626  }
627 
628 public: // Helpers
629 
631  {
632  return SendMessageW(TTM_GETTOOLCOUNT, 0, 0);
633  }
634 
636  {
637  return SendMessageW(TTM_ADDTOOL, 0, reinterpret_cast<LPARAM>(pInfo));
638  }
639 
640  VOID DelTool(IN HWND hwndToolOwner, IN UINT uId)
641  {
642  TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
643  info.hwnd = hwndToolOwner;
644  info.uId = uId;
645  SendMessageW(TTM_DELTOOL, 0, reinterpret_cast<LPARAM>(&info));
646  }
647 
648  VOID NewToolRect(IN HWND hwndToolOwner, IN UINT uId, IN RECT rect)
649  {
650  TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
651  info.hwnd = hwndToolOwner;
652  info.uId = uId;
653  info.rect = rect;
654  SendMessageW(TTM_NEWTOOLRECT, 0, reinterpret_cast<LPARAM>(&info));
655  }
656 
657  BOOL GetToolInfo(IN HWND hwndToolOwner, IN UINT uId, IN OUT TTTOOLINFOW * pInfo)
658  {
659  pInfo->hwnd = hwndToolOwner;
660  pInfo->uId = uId;
661  return SendMessageW(TTM_GETTOOLINFO, 0, reinterpret_cast<LPARAM>(pInfo));
662  }
663 
665  {
666  SendMessageW(TTM_SETTOOLINFO, 0, reinterpret_cast<LPARAM>(pInfo));
667  }
668 
670  {
671  return SendMessageW(TTM_HITTEST, 0, reinterpret_cast<LPARAM>(pInfo));
672  }
673 
675  {
676  TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
677  info.hwnd = hwndToolOwner;
678  info.uId = uId;
679  info.lpszText = pBuffer;
680  SendMessageW(TTM_GETTEXT, cchBuffer, reinterpret_cast<LPARAM>(&info));
681  }
682 
683  VOID UpdateTipText(IN HWND hwndToolOwner, IN UINT uId, IN PCWSTR szText, IN HINSTANCE hinstResourceOwner = NULL)
684  {
685  TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
686  info.hwnd = hwndToolOwner;
687  info.uId = uId;
688  info.lpszText = const_cast<PWSTR>(szText);
689  info.hinst = hinstResourceOwner;
690  SendMessageW(TTM_UPDATETIPTEXT, 0, reinterpret_cast<LPARAM>(&info));
691  }
692 
694  {
695  return SendMessageW(TTM_ENUMTOOLS, 0, reinterpret_cast<LPARAM>(pInfo));
696  }
697 
699  {
700  return SendMessageW(TTM_GETCURRENTTOOL, 0, reinterpret_cast<LPARAM>(pInfo));
701  }
702 
703  VOID GetTitle(TTGETTITLE * pTitleInfo)
704  {
705  SendMessageW(TTM_GETTITLE, 0, reinterpret_cast<LPARAM>(pTitleInfo));
706  }
707 
708  BOOL SetTitle(PCWSTR szTitleText, WPARAM icon = 0)
709  {
710  return SendMessageW(TTM_SETTITLE, icon, reinterpret_cast<LPARAM>(szTitleText));
711  }
712 
713  VOID TrackActivate(IN HWND hwndToolOwner, IN UINT uId)
714  {
715  TTTOOLINFOW info = { sizeof(TTTOOLINFOW), 0 };
716  info.hwnd = hwndToolOwner;
717  info.uId = uId;
718  SendMessageW(TTM_TRACKACTIVATE, TRUE, reinterpret_cast<LPARAM>(&info));
719  }
720 
722  {
724  }
725 
727  {
729  }
730 
731  // Opens the tooltip
733  {
735  }
736 
737  // Closes the tooltip - Pressing the [X] for a TTF_CLOSE balloon is equivalent to calling this
739  {
741  }
742 
743  // Delay times for AUTOMATIC tooltips (they don't affect balloons)
745  {
747  }
748 
750  {
752  }
753 
754  // Activates or deactivates the automatic tooltip display when hovering a control
755  VOID Activate(IN BOOL bActivate = TRUE)
756  {
757  SendMessageW(TTM_ACTIVATE, bActivate);
758  }
759 
760  // Adjusts the position of a tooltip when used to display trimmed text
761  VOID AdjustRect(IN BOOL bTextToWindow, IN OUT RECT * pRect)
762  {
763  SendMessageW(TTM_ADJUSTRECT, bTextToWindow, reinterpret_cast<LPARAM>(pRect));
764  }
765 
766  // Useful for TTF_ABSOLUTE|TTF_TRACK tooltip positioning
768  {
769  DWORD ret = SendMessageW(TTM_GETBUBBLESIZE, 0, reinterpret_cast<LPARAM>(pInfo));
770  const SIZE sz = { LOWORD(ret), HIWORD(ret) };
771  return sz;
772  }
773 
774  // Fills the RECT with the margin size previously set. Default is 0 margins.
776  {
777  SendMessageW(TTM_GETMARGIN, 0, reinterpret_cast<LPARAM>(pRect));
778  }
779 
781  {
782  SendMessageW(TTM_SETMARGIN, 0, reinterpret_cast<LPARAM>(pRect));
783  }
784 
785  // Gets a previously established max width. Returns -1 if no limit is set
787  {
789  }
790 
792  {
794  }
795 
796  // Get the color of the tooltip text
798  {
800  }
801 
803  {
804  SendMessageW(TTM_SETTIPTEXTCOLOR, textColor);
805  }
806 
808  {
810  }
811 
813  {
814  SendMessageW(TTM_SETTIPBKCOLOR, textColor);
815  }
816 
818  {
819  SendMessageW(TTM_SETWINDOWTHEME, 0, reinterpret_cast<LPARAM>(szThemeName));
820  }
821 
822  // Forces redraw
824  {
826  }
827 
829  {
830  return reinterpret_cast<HWND>(SendMessageW(TTM_WINDOWFROMPOINT, 0, reinterpret_cast<LPARAM>(pPoint)));
831  }
832 };
VOID TrackActivate(IN HWND hwndToolOwner, IN UINT uId)
Definition: rosctrls.h:713
#define LVM_SETTEXTCOLOR
Definition: commctrl.h:2654
VOID SetMargin(IN RECT *pRect)
Definition: rosctrls.h:780
#define TTM_GETDELAYTIME
Definition: commctrl.h:1812
#define STATUSCLASSNAMEW
Definition: commctrl.h:1932
#define TB_MOVEBUTTON
Definition: commctrl.h:1184
HWND Create(HWND hWndParent, DWORD dwStyles=0, DWORD dwExStyles=0)
Definition: rosctrls.h:254
struct tagTOOLINFOW TTTOOLINFOW
#define LV_ITEM
Definition: commctrl.h:2333
DWORD_PTR GetItemData(int i)
Definition: rosctrls.h:204
#define TBIF_LPARAM
Definition: commctrl.h:1219
#define TTM_UPDATETIPTEXT
Definition: commctrl.h:1842
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define IN
Definition: typedefs.h:39
GLint GLint GLsizei width
Definition: gl.h:1546
#define TVM_INSERTITEM
Definition: commctrl.h:3406
#define TB_HITTEST
Definition: commctrl.h:1264
#define TB_SETBUTTONSIZE
Definition: commctrl.h:1131
#define LVM_GETITEMSTATE
Definition: commctrl.h:2671
#define TTM_RELAYEVENT
Definition: commctrl.h:1788
#define TB_GETBUTTONINFO
Definition: commctrl.h:1258
#define TTM_GETMARGIN
Definition: commctrl.h:1818
#define TB_BUTTONSTRUCTSIZE
Definition: commctrl.h:1130
#define TB_BUTTONCOUNT
Definition: commctrl.h:1106
DWORD SetRedraw(BOOL bEnable)
Definition: rosctrls.h:406
#define WC_TREEVIEWW
Definition: commctrl.h:3239
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
#define TOOLTIPS_CLASS
Definition: commctrl.h:1706
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:6102
#define LVM_GETSELECTEDCOUNT
Definition: commctrl.h:2704
HTREEITEM hParent
Definition: commctrl.h:3389
#define TVM_ENSUREVISIBLE
Definition: commctrl.h:3540
DWORD GetButtonInfo(int cmdId, TBBUTTONINFO *info)
Definition: rosctrls.h:350
#define LVCF_WIDTH
Definition: commctrl.h:2583
long y
Definition: polytest.cpp:48
#define DWORD_PTR
Definition: treelist.c:76
VOID SetTipTextColor(IN COLORREF textColor)
Definition: rosctrls.h:802
#define TVM_EDITLABEL
Definition: commctrl.h:3498
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define TVM_EXPAND
Definition: commctrl.h:3415
#define LVCF_TEXT
Definition: commctrl.h:2584
#define TVM_SELECTITEM
Definition: commctrl.h:3474
long x
Definition: polytest.cpp:48
#define TVM_GETITEM
Definition: commctrl.h:3484
#define TTM_ENUMTOOLS
Definition: commctrl.h:1843
INT HitTest(PPOINT ppt)
Definition: rosctrls.h:428
#define TVGN_CARET
Definition: commctrl.h:3457
int GetSelectionMark()
Definition: rosctrls.h:156
#define TRUE
Definition: types.h:120
#define TBIF_BYINDEX
Definition: commctrl.h:1222
uint16_t * PWSTR
Definition: typedefs.h:56
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
BOOL DeleteItem(HTREEITEM i)
Definition: rosctrls.h:538
_In_ BOOLEAN Create
Definition: pstypes.h:519
const WCHAR * text
Definition: package.c:1827
static GLenum which
Definition: wgl_font.c:159
#define TB_GETBUTTON
Definition: commctrl.h:1105
GLuint GLuint GLsizei count
Definition: gl.h:1545
#define LV_COLUMN
Definition: commctrl.h:2543
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1827
#define U(x)
Definition: wordpad.c:45
BOOL GetCurrentTool(OUT OPTIONAL TTTOOLINFOW *pInfo=NULL)
Definition: rosctrls.h:698
#define MAKELPARAM(l, h)
Definition: winuser.h:3983
BOOL AddTool(IN CONST TTTOOLINFOW *pInfo)
Definition: rosctrls.h:635
void SetRedraw(BOOL redraw)
Definition: rosctrls.h:27
#define TTM_NEWTOOLRECT
Definition: commctrl.h:1837
#define TTM_TRACKPOSITION
Definition: commctrl.h:1809
#define LVM_GETITEMTEXT
Definition: commctrl.h:2678
DWORD SetPadding(int x, int y)
Definition: rosctrls.h:416
#define TVM_HITTEST
Definition: commctrl.h:3508
#define WM_SETREDRAW
Definition: winuser.h:1598
const char * fmt
Definition: wsprintf.c:30
LPARAM lParam
Definition: commctrl.h:3321
#define LVM_FINDITEM
Definition: commctrl.h:2464
VOID TrackPosition(IN WORD x, IN WORD y)
Definition: rosctrls.h:726
static PWSTR Image
Definition: pageheap.c:13
INT GetHotItem()
Definition: rosctrls.h:299
BOOL SetBkColor(COLORREF cr)
Definition: rosctrls.h:518
int GetNextItem(int i, WORD flags)
Definition: rosctrls.h:161
#define ZeroMemory
Definition: winbase.h:1648
DWORD DeleteButton(int index)
Definition: rosctrls.h:345
#define LVM_SORTITEMS
Definition: commctrl.h:2698
_In_ UINT iStart
Definition: wingdi.h:3619
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
BOOL EnsureVisible(int i, BOOL fPartialOK)
Definition: rosctrls.h:146
#define LVNI_SELECTED
Definition: commctrl.h:2420
UINT_PTR WPARAM
Definition: windef.h:207
VOID Update()
Definition: rosctrls.h:823
#define WS_CHILD
Definition: pedump.c:617
#define TTM_GETMAXTIPWIDTH
Definition: commctrl.h:1816
#define TVIF_SELECTEDIMAGE
Definition: commctrl.h:3267
#define LVM_DELETEITEM
Definition: commctrl.h:2406
__u16 time
Definition: mkdosfs.c:366
DWORD GetIdealSize(BOOL useHeight, LPSIZE size)
Definition: rosctrls.h:386
UINT mask
Definition: commctrl.h:3312
#define TB_GETMAXSIZE
Definition: commctrl.h:1185
#define TB_INSERTBUTTON
Definition: commctrl.h:1266
int GetItemCount()
Definition: rosctrls.h:121
#define WS_CLIPCHILDREN
Definition: pedump.c:619
#define TVM_SETBKCOLOR
Definition: commctrl.h:3571
VOID AdjustRect(IN BOOL bTextToWindow, IN OUT RECT *pRect)
Definition: rosctrls.h:761
TItemData * GetItemData(int index)
Definition: rosctrls.h:434
VOID Pop()
Definition: rosctrls.h:738
VOID TrackDeactivate()
Definition: rosctrls.h:721
#define LV_FINDINFO
Definition: commctrl.h:2441
HIMAGELIST himl
#define WS_EX_TOOLWINDOW
Definition: winuser.h:404
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
DWORD SetButtonStructSize()
Definition: rosctrls.h:284
int32_t INT
Definition: typedefs.h:58
& rect
Definition: startmenu.cpp:1413
#define TB_SETBUTTONINFO
Definition: commctrl.h:1259
CHAR * LPTSTR
Definition: xmlstorage.h:192
#define TB_GETITEMRECT
Definition: commctrl.h:1129
int GetButtonCount()
Definition: rosctrls.h:315
COLORREF GetTipTextColor()
Definition: rosctrls.h:797
#define TTM_SETWINDOWTHEME
Definition: commctrl.h:1847
#define LVM_SETITEMTEXT
Definition: commctrl.h:2685
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
VOID SetToolInfo(IN CONST TTTOOLINFOW *pInfo)
Definition: rosctrls.h:664
#define TTM_GETTIPTEXTCOLOR
Definition: commctrl.h:1814
BOOL SetTextColor(COLORREF cr)
Definition: rosctrls.h:42
DWORD SetExtendedListViewStyle(DWORD dw, DWORD dwMask=0)
Definition: rosctrls.h:47
struct _test_info info[]
Definition: SetCursorPos.c:19
#define LVCF_SUBITEM
Definition: commctrl.h:2585
#define TTM_POP
Definition: commctrl.h:1819
#define LVM_INSERTCOLUMN
Definition: commctrl.h:2630
DWORD CheckButton(int cmdId, BOOL bCheck)
Definition: rosctrls.h:360
#define TTM_ACTIVATE
Definition: commctrl.h:1780
#define TTM_WINDOWFROMPOINT
Definition: commctrl.h:1807
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
int GetItemCount()
Definition: rosctrls.h:553
GLenum GLint GLuint mask
Definition: glext.h:6028
DWORD AddButtons(int count, TBBUTTON *buttons)
Definition: rosctrls.h:330
BOOL DeleteAllItems()
Definition: rosctrls.h:126
BOOL SetItemText(int i, int subItem, LPCWSTR text)
Definition: rosctrls.h:186
#define FALSE
Definition: types.h:117
static const WCHAR szText[]
Definition: dialog.c:139
#define TTM_POPUP
Definition: commctrl.h:1826
VOID UpdateTipText(IN HWND hwndToolOwner, IN UINT uId, IN PCWSTR szText, IN HINSTANCE hinstResourceOwner=NULL)
Definition: rosctrls.h:683
BOOL SetTitle(PCWSTR szTitleText, WPARAM icon=0)
Definition: rosctrls.h:708
HTREEITEM hInsertAfter
Definition: commctrl.h:3390
unsigned int BOOL
Definition: ntddk_ex.h:94
#define TTM_HITTEST
Definition: commctrl.h:1840
BOOL GetItemPosition(int nItem, POINT *pPoint)
Definition: rosctrls.h:231
#define TB_AUTOSIZE
Definition: commctrl.h:1133
#define LVM_INSERTITEM
Definition: commctrl.h:2402
static DWORD cchBuffer
Definition: fusion.c:85
BOOL Expand(HTREEITEM item, DWORD action)
Definition: rosctrls.h:597
LPARAM lParam
Definition: commctrl.h:2364
#define TVM_SETIMAGELIST
Definition: commctrl.h:3442
#define LVM_GETITEMCOUNT
Definition: commctrl.h:2302
REFIID LPVOID DWORD_PTR dw
Definition: atlbase.h:40
BOOL Arrange(UINT nCode)
Definition: rosctrls.h:241
#define CreateWindowEx
Definition: winuser.h:5730
DWORD GetMetrics(TBMETRICS *tbm)
Definition: rosctrls.h:391
BOOL HitTest(IN CONST TTHITTESTINFOW *pInfo)
Definition: rosctrls.h:669
#define TOOLBARCLASSNAME
Definition: commctrl.h:942
#define TTM_GETTIPBKCOLOR
Definition: commctrl.h:1813
#define TB_GETMETRICS
Definition: commctrl.h:1298
#define TTM_GETTITLE
Definition: commctrl.h:1827
smooth NULL
Definition: ftsmooth.c:416
PVOID pBuffer
static HWND hwndParent
Definition: cryptui.c:300
BOOL GetItem(LV_ITEM *pitem)
Definition: rosctrls.h:106
LONG cx
Definition: windef.h:334
LONG_PTR LPARAM
Definition: windef.h:208
VOID GetTitle(TTGETTITLE *pTitleInfo)
Definition: rosctrls.h:703
#define TTM_SETTITLE
Definition: commctrl.h:1845
DWORD AutoSize()
Definition: rosctrls.h:376
#define TVI_LAST
Definition: commctrl.h:3366
HTREEITEM AddItem(HTREEITEM hParent, LPWSTR lpText, INT Image, INT SelectedImage, LPARAM lParam)
Definition: rosctrls.h:496
#define TTM_GETTOOLINFO
Definition: commctrl.h:1838
#define TB_GETIDEALSIZE
Definition: commctrl.h:1280
GLuint index
Definition: glext.h:6031
#define LVM_SETBKCOLOR
Definition: commctrl.h:2289
HIMAGELIST SetImageList(HIMAGELIST himl)
Definition: rosctrls.h:422
#define LVIS_STATEIMAGEMASK
Definition: commctrl.h:2322
void GetItemText(int iItem, int iSubItem, LPTSTR pszText, int cchTextMax)
Definition: rosctrls.h:221
#define TB_GETHOTITEM
Definition: commctrl.h:1166
DWORD GetItemRect(int index, LPRECT prcItem)
Definition: rosctrls.h:401
DWORD_PTR dwData
Definition: commctrl.h:954
HWND EditLabel(int i)
Definition: rosctrls.h:151
HWND Create(HWND hwndParent, HMENU hMenu)
Definition: rosctrls.h:460
#define LVM_HITTEST
Definition: commctrl.h:2511
BOOL SelectItem(HTREEITEM item, DWORD action=TVGN_CARET)
Definition: rosctrls.h:602
HTREEITEM HitTest(TVHITTESTINFO *phtInfo)
Definition: rosctrls.h:578
#define LVM_GETITEMSPACING
Definition: commctrl.h:2707
#define TB_SETIMAGELIST
Definition: commctrl.h:1146
#define TB_GETBUTTONSIZE
Definition: commctrl.h:1156
#define TB_SETMETRICS
Definition: commctrl.h:1299
HTREEITEM InsertItem(const TVINSERTSTRUCTW *pitem)
Definition: rosctrls.h:533
HWND WindowFromPoint(IN POINT *pPoint)
Definition: rosctrls.h:828
#define LVM_UPDATE
Definition: commctrl.h:2666
GLsizeiptr size
Definition: glext.h:5919
#define LVM_SETITEMPOSITION
Definition: commctrl.h:2476
BOOL EnsureVisible(HTREEITEM i)
Definition: rosctrls.h:558
DWORD SetHotItem(INT item)
Definition: rosctrls.h:304
BOOL Update(int i)
Definition: rosctrls.h:131
BOOL SetTextColor(COLORREF cr)
Definition: rosctrls.h:523
BOOL EnumTools(IN CONST TTTOOLINFOW *pInfo)
Definition: rosctrls.h:693
#define SBARS_SIZEGRIP
Definition: commctrl.h:1919
#define TTM_GETCURRENTTOOL
Definition: commctrl.h:1844
BOOL SetTextBkColor(COLORREF cr)
Definition: rosctrls.h:32
DWORD COLORREF
Definition: windef.h:300
#define LV_HITTESTINFO
Definition: commctrl.h:2500
#define INDEXTOSTATEIMAGEMASK(i)
Definition: commctrl.h:2324
#define TVM_SETTEXTCOLOR
Definition: commctrl.h:3573
UINT GetSelectedCount()
Definition: rosctrls.h:136
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD SetTooltip(HWND hWndTooltip)
Definition: rosctrls.h:294
#define TTM_SETMAXTIPWIDTH
Definition: commctrl.h:1815
#define TB_GETPADDING
Definition: commctrl.h:1188
VOID GetMargin(OUT RECT *pRect)
Definition: rosctrls.h:775
#define LVM_SETEXTENDEDLISTVIEWSTYLE
Definition: commctrl.h:2720
DWORD GetPadding()
Definition: rosctrls.h:411
#define LVM_SETTEXTBKCOLOR
Definition: commctrl.h:2658
int InsertColumn(int iCol, LPWSTR pszText, int fmt, int width=-1, int iSubItem=-1, int iImage=-1, int iOrder=-1)
Definition: rosctrls.h:57
UINT GetItemState(int i, UINT mask)
Definition: rosctrls.h:173
INT GetDelayTime(UINT which)
Definition: rosctrls.h:744
COLORREF GetTipBkColor()
Definition: rosctrls.h:807
void check(CONTEXT *pContext)
Definition: NtContinue.c:68
VOID SetTipBkColor(IN COLORREF textColor)
Definition: rosctrls.h:812
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
#define TTM_SETDELAYTIME
Definition: commctrl.h:1781
DWORD SetMetrics(TBMETRICS *tbm)
Definition: rosctrls.h:396
GLbitfield flags
Definition: glext.h:7161
UINT mask
Definition: commctrl.h:2356
INT GetToolCount()
Definition: rosctrls.h:630
HIMAGELIST SetImageList(HIMAGELIST himl, int iImageList)
Definition: rosctrls.h:528
#define TVM_GETITEMSTATE
Definition: treelist.h:336
int ret
#define LVM_ARRANGE
Definition: commctrl.h:2528
#define TVM_DELETEITEM
Definition: commctrl.h:3410
#define LVM_SETITEMSTATE
Definition: commctrl.h:2668
#define TTM_UPDATE
Definition: commctrl.h:1820
int InsertItem(const LV_ITEM *pitem)
Definition: rosctrls.h:96
#define TTM_GETBUBBLESIZE
Definition: commctrl.h:1821
#define TTM_SETMARGIN
Definition: commctrl.h:1817
static const WCHAR L[]
Definition: oid.c:1250
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)
VOID SetDelayTime(UINT which, WORD time)
Definition: rosctrls.h:749
#define SB_SETTEXT
Definition: commctrl.h:1945
DWORD SetDrawTextFlags(DWORD useBits, DWORD bitState)
Definition: rosctrls.h:309
#define TTM_SETTIPTEXTCOLOR
Definition: commctrl.h:1811
#define TB_GETTOOLTIPS
Definition: commctrl.h:1134
static int state
Definition: maze.c:121
#define TB_ADDBUTTONS
Definition: commctrl.h:1267
const DOCKBAR PVOID HWND hParent
Definition: tooldock.h:22
BOOL SetBkColor(COLORREF cr)
Definition: rosctrls.h:37
#define TB_CHECKBUTTON
Definition: commctrl.h:1039
#define LVM_GETSELECTIONMARK
Definition: commctrl.h:2784
#define TB_SETPADDING
Definition: commctrl.h:1189
#define WS_EX_TOPMOST
Definition: pedump.c:647
BOOL GetItem(TV_ITEM *pitem)
Definition: rosctrls.h:543
BOOL FindItem(int iStart, const LV_FINDINFO *plvfi)
Definition: rosctrls.h:116
uint32_t DWORD_PTR
Definition: typedefs.h:65
VOID RelayEvent(MSG *pMsg, WPARAM extraInfo=0)
Definition: rosctrls.h:623
#define LVM_GETITEM
Definition: commctrl.h:2388
HWND Create(HWND hWndParent, DWORD dwStyles=WS_POPUP|TTS_NOPREFIX, DWORD dwExStyles=WS_EX_TOPMOST)
Definition: rosctrls.h:614
#define TTM_ADDTOOL
Definition: commctrl.h:1835
#define TTM_SETTOOLINFO
Definition: commctrl.h:1839
DWORD SetButtonSize(int w, int h)
Definition: rosctrls.h:371
int GetColumnWidth(int iCol)
Definition: rosctrls.h:86
#define LVM_DELETEALLITEMS
Definition: commctrl.h:2409
BOOL SetItem(const TV_ITEM *pitem)
Definition: rosctrls.h:548
#define LVNI_ALL
Definition: commctrl.h:2418
#define TVM_GETNEXTITEM
Definition: commctrl.h:3445
HWND EditLabel(HTREEITEM i)
Definition: rosctrls.h:563
#define LVM_SETIMAGELIST
Definition: commctrl.h:2299
void redraw(int x, int y, int cx, int cy)
Definition: qtewin.cpp:1248
VOID SetText(LPCWSTR lpszText)
Definition: rosctrls.h:455
void GetItemSpacing(SIZE &spacing, BOOL bSmallIconView=FALSE)
Definition: rosctrls.h:166
#define TV_ITEM
Definition: commctrl.h:3296
#define TB_SETTOOLTIPS
Definition: commctrl.h:1135
#define LVCF_FMT
Definition: commctrl.h:2582
#define TTM_TRACKACTIVATE
Definition: commctrl.h:1808
DWORD_PTR GetItemData(HTREEITEM item)
Definition: rosctrls.h:583
VOID Popup()
Definition: rosctrls.h:732
UINT GetItemState(int i, UINT mask)
Definition: rosctrls.h:573
_In_ BOOL bEnable
Definition: winddi.h:3426
const WCHAR * action
Definition: action.c:7783
static ATOM item
Definition: dde.c:856
#define WS_EX_CLIENTEDGE
Definition: winuser.h:384
void SetItemState(int i, UINT state, UINT mask)
Definition: rosctrls.h:178
HWND buttons[5]
Definition: sndrec32.cpp:40
#define TVIF_TEXT
Definition: commctrl.h:3262
BOOL SetItemPosition(int nItem, POINT *pPoint)
Definition: rosctrls.h:236
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
DWORD InsertButton(int insertAt, TBBUTTON *btn)
Definition: rosctrls.h:335
VOID NewToolRect(IN HWND hwndToolOwner, IN UINT uId, IN RECT rect)
Definition: rosctrls.h:648
#define TTM_GETTOOLCOUNT
Definition: commctrl.h:1802
BOOL GetToolInfo(IN HWND hwndToolOwner, IN UINT uId, IN OUT TTTOOLINFOW *pInfo)
Definition: rosctrls.h:657
#define TVIF_IMAGE
Definition: commctrl.h:3263
int(CALLBACK * PFNLVCOMPARE)(LPARAM, LPARAM, LPARAM)
Definition: commctrl.h:2696
SIZE GetBubbleSize(IN TTTOOLINFOW *pInfo)
Definition: rosctrls.h:767
HTREEITEM GetNextItem(HTREEITEM i, WORD flags)
Definition: rosctrls.h:568
#define LVM_SETITEM
Definition: commctrl.h:2395
#define WS_POPUP
Definition: pedump.c:616
DWORD SetItemData(int index, TItemData *data)
Definition: rosctrls.h:441
unsigned int UINT
Definition: ndis.h:50
HTREEITEM hItem
Definition: commctrl.h:3313
BOOL GetSelectedItem(LV_ITEM *pItem)
Definition: rosctrls.h:213
#define LVM_EDITLABEL
Definition: commctrl.h:2534
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
#define TTM_GETTEXT
Definition: commctrl.h:1841
DWORD GetMaxSize(LPSIZE size)
Definition: rosctrls.h:381
#define TVS_SHOWSELALWAYS
Definition: commctrl.h:3248
#define WC_LISTVIEW
Definition: commctrl.h:2255
HWND Create(HWND hwndParent)
Definition: rosctrls.h:481
DWORD MoveButton(int oldIndex, int newIndex)
Definition: rosctrls.h:340
#define TVS_HASLINES
Definition: commctrl.h:3244
VOID SetWindowTheme(IN PCWSTR szThemeName)
Definition: rosctrls.h:817
void SetCheckState(int i, BOOL check)
Definition: rosctrls.h:194
#define SendMessage
Definition: winuser.h:5818
#define OUT
Definition: typedefs.h:40
#define LVIF_PARAM
Definition: commctrl.h:2307
#define TTM_ADJUSTRECT
Definition: commctrl.h:1822
#define TVM_GETCOUNT
Definition: commctrl.h:3427
#define TTM_SETTIPBKCOLOR
Definition: commctrl.h:1810
#define HIWORD(l)
Definition: typedefs.h:247
BOOL SetItem(const LV_ITEM *pitem)
Definition: rosctrls.h:111
DWORD SetButtonInfo(int cmdId, TBBUTTONINFO *info)
Definition: rosctrls.h:355
int InsertColumn(int iCol, LV_COLUMN *pcol)
Definition: rosctrls.h:52
HIMAGELIST SetImageList(HIMAGELIST himl, int iImageList)
Definition: rosctrls.h:91
#define LVCF_IMAGE
Definition: commctrl.h:2586
#define TVIF_PARAM
Definition: commctrl.h:3264
WCHAR * LPWSTR
Definition: xmlstorage.h:184
INT GetMaxTipWidth()
Definition: rosctrls.h:786
DWORD GetButtonSize()
Definition: rosctrls.h:366
#define LVM_GETCOLUMNWIDTH
Definition: commctrl.h:2637
void SetRedraw(BOOL redraw)
Definition: rosctrls.h:513
#define LVM_GETNEXTITEM
Definition: commctrl.h:2429
VOID GetText(IN HWND hwndToolOwner, IN UINT uId, OUT PWSTR pBuffer, IN DWORD cchBuffer)
Definition: rosctrls.h:674
#define TB_SETHOTITEM
Definition: commctrl.h:1167
#define LVM_ENSUREVISIBLE
Definition: commctrl.h:2514
#define TV_INSERTSTRUCT
Definition: commctrl.h:3373
#define WS_VISIBLE
Definition: pedump.c:620
#define TB_SETDRAWTEXTFLAGS
Definition: commctrl.h:1269
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60
LONG cy
Definition: windef.h:335
LPARAM lParam
Definition: combotst.c:139
#define SBT_NOBORDERS
Definition: commctrl.h:1967
#define TTS_NOPREFIX
Definition: commctrl.h:1754
#define LOWORD(l)
Definition: pedump.c:82
Definition: dsound.c:943
#define CONST
Definition: pedump.c:81
#define TVM_SETITEM
Definition: commctrl.h:3491
#define LVM_GETITEMPOSITION
Definition: commctrl.h:2479
INT SetMaxTipWidth(IN OPTIONAL INT width=-1)
Definition: rosctrls.h:791
#define TTM_DELTOOL
Definition: commctrl.h:1836
BOOL SortItems(PFNLVCOMPARE pfnCompare, PVOID lParam)
Definition: rosctrls.h:141
DWORD AddButton(TBBUTTON *btn)
Definition: rosctrls.h:325
HWND GetTooltip()
Definition: rosctrls.h:289
VOID Activate(IN BOOL bActivate=TRUE)
Definition: rosctrls.h:755
#define TBBUTTONINFO
Definition: commctrl.h:1250
DWORD GetButton(int index, TBBUTTON *btn)
Definition: rosctrls.h:320
VOID DelTool(IN HWND hwndToolOwner, IN UINT uId)
Definition: rosctrls.h:640
#define TB_DELETEBUTTON
Definition: commctrl.h:1104
int HitTest(LV_HITTESTINFO *phtInfo)
Definition: rosctrls.h:199
HTREEITEM GetSelection()
Definition: rosctrls.h:592
BOOL DeleteItem(int i)
Definition: rosctrls.h:101
#define LVCF_ORDER
Definition: commctrl.h:2587
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68