17 rect.m_lpRect->right -
rect.m_lpRect->left,
18 rect.m_lpRect->bottom -
rect.m_lpRect->top,
21 _AtlBaseModule.GetModuleInstance(),
71 column.iSubItem = iSubItem;
189 item.iSubItem = subItem;
216 if (pItem->iItem == -1)
224 itemInfo.iSubItem = iSubItem;
225 itemInfo.pszText = pszText;
226 itemInfo.cchTextMax = cchTextMax;
248template<
typename TItemData = DWORD_PTR>
274 _AtlBaseModule.GetModuleInstance(),
440 return (TItemData*) btn.
dwData;
471 _AtlBaseModule.GetModuleInstance(),
492 _AtlBaseModule.GetModuleInstance(),
507 Insert.
item.iSelectedImage = SelectedImage;
510 Insert.
item.pszText = lpText;
645 info.hwnd = hwndToolOwner;
653 info.hwnd = hwndToolOwner;
661 pInfo->hwnd = hwndToolOwner;
679 info.hwnd = hwndToolOwner;
688 info.hwnd = hwndToolOwner;
690 info.lpszText =
const_cast<PWSTR>(szText);
691 info.hinst = hinstResourceOwner;
718 info.hwnd = hwndToolOwner;
int GetNextItem(int i, WORD flags)
UINT GetItemState(int i, UINT mask)
BOOL SetTextBkColor(COLORREF cr)
int InsertItem(const LV_ITEM *pitem)
BOOL GetSelectedItem(LV_ITEM *pItem)
DWORD SetExtendedListViewStyle(DWORD dw, DWORD dwMask=0)
BOOL FindItem(int iStart, const LV_FINDINFO *plvfi)
void SetRedraw(BOOL redraw)
BOOL SortItems(PFNLVCOMPARE pfnCompare, PVOID lParam)
void SetItemState(int i, UINT state, UINT mask)
void SetCheckState(int i, BOOL check)
int GetColumnWidth(int iCol)
DWORD_PTR GetItemData(int i)
void GetItemText(int iItem, int iSubItem, LPTSTR pszText, int cchTextMax)
BOOL SetTextColor(COLORREF cr)
HIMAGELIST SetImageList(HIMAGELIST himl, int iImageList)
int InsertColumn(int iCol, LV_COLUMN *pcol)
BOOL EnsureVisible(int i, BOOL fPartialOK)
int InsertColumn(int iCol, LPWSTR pszText, int fmt, int width=-1, int iSubItem=-1, int iImage=-1, int iOrder=-1)
BOOL SetItemText(int i, int subItem, LPCWSTR text)
BOOL SetItemPosition(int nItem, POINT *pPoint)
BOOL GetItem(LV_ITEM *pitem)
void GetItemSpacing(SIZE &spacing, BOOL bSmallIconView=FALSE)
BOOL SetItem(const LV_ITEM *pitem)
int HitTest(LV_HITTESTINFO *phtInfo)
BOOL GetItemPosition(int nItem, POINT *pPoint)
BOOL SetBkColor(COLORREF cr)
HWND Create(HWND hWndParent, _U_RECT rect, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, _U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
VOID SetText(LPCWSTR lpszText)
HWND Create(HWND hwndParent, HMENU hMenu)
BOOL Expand(HTREEITEM item, DWORD action)
BOOL SetItem(const TV_ITEM *pitem)
HIMAGELIST SetImageList(HIMAGELIST himl, int iImageList)
BOOL DeleteItem(HTREEITEM i)
BOOL GetItem(TV_ITEM *pitem)
HWND Create(HWND hwndParent)
BOOL SelectItem(HTREEITEM item, DWORD action=TVGN_CARET)
HTREEITEM HitTest(TVHITTESTINFO *phtInfo)
DWORD_PTR GetItemData(HTREEITEM item)
HTREEITEM AddItem(HTREEITEM hParent, LPWSTR lpText, INT Image, INT SelectedImage, LPARAM lParam)
HTREEITEM GetNextItem(HTREEITEM i, WORD flags)
UINT GetItemState(int i, UINT mask)
void SetRedraw(BOOL redraw)
BOOL SetBkColor(COLORREF cr)
BOOL EnsureVisible(HTREEITEM i)
HTREEITEM InsertItem(const TVINSERTSTRUCTW *pitem)
HWND EditLabel(HTREEITEM i)
BOOL SetTextColor(COLORREF cr)
#define check(expected, result)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLdouble GLdouble GLdouble r
GLint GLint GLsizei width
GLubyte GLubyte GLubyte GLubyte w
GLfloat GLfloat GLfloat GLfloat h
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
REFIID LPVOID DWORD_PTR dw
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define TTM_GETCURRENTTOOL
#define LVM_DELETEALLITEMS
#define TTM_GETMAXTIPWIDTH
#define TTM_UPDATETIPTEXT
#define LVM_GETITEMSPACING
#define TTM_GETTIPTEXTCOLOR
#define LVM_GETITEMPOSITION
#define LVM_SETITEMPOSITION
struct tagTOOLINFOW TTTOOLINFOW
#define TB_BUTTONSTRUCTSIZE
#define TVS_SHOWSELALWAYS
#define LVM_ENSUREVISIBLE
#define TTM_TRACKPOSITION
#define TTM_WINDOWFROMPOINT
#define TTM_GETTIPBKCOLOR
#define TB_SETDRAWTEXTFLAGS
#define TTM_SETWINDOWTHEME
#define TVM_ENSUREVISIBLE
#define LVM_GETSELECTIONMARK
#define TTM_SETTIPBKCOLOR
#define TTM_SETTIPTEXTCOLOR
#define INDEXTOSTATEIMAGEMASK(i)
#define LVM_GETSELECTEDCOUNT
#define LVM_SETTEXTBKCOLOR
#define LVIS_STATEIMAGEMASK
#define LVM_GETCOLUMNWIDTH
#define TTM_TRACKACTIVATE
int(CALLBACK * PFNLVCOMPARE)(LPARAM, LPARAM, LPARAM)
#define TVIF_SELECTEDIMAGE
#define TTM_GETBUBBLESIZE
#define LVM_SETEXTENDEDLISTVIEWSTYLE
#define TTM_SETMAXTIPWIDTH
void redraw(int x, int y, int cx, int cy)
PULONG MinorVersion OPTIONAL
TW_UINT32 TW_UINT16 TW_UINT16 MSG
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)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)