ReactOS  0.4.15-dev-499-g1f31905
CTreeView Class Reference

#include <rosctrls.h>

Inheritance diagram for CTreeView:
Collaboration diagram for CTreeView:

Public Member Functions

HWND Create (HWND hwndParent)
 
HTREEITEM AddItem (HTREEITEM hParent, LPWSTR lpText, INT Image, INT SelectedImage, LPARAM lParam)
 
void SetRedraw (BOOL redraw)
 
BOOL SetBkColor (COLORREF cr)
 
BOOL SetTextColor (COLORREF cr)
 
HIMAGELIST SetImageList (HIMAGELIST himl, int iImageList)
 
HTREEITEM InsertItem (const TVINSERTSTRUCTW *pitem)
 
BOOL DeleteItem (HTREEITEM i)
 
BOOL GetItem (TV_ITEM *pitem)
 
BOOL SetItem (const TV_ITEM *pitem)
 
int GetItemCount ()
 
BOOL EnsureVisible (HTREEITEM i)
 
HWND EditLabel (HTREEITEM i)
 
HTREEITEM GetNextItem (HTREEITEM i, WORD flags)
 
UINT GetItemState (int i, UINT mask)
 
HTREEITEM HitTest (TVHITTESTINFO *phtInfo)
 
DWORD_PTR GetItemData (HTREEITEM item)
 
HTREEITEM GetSelection ()
 
BOOL Expand (HTREEITEM item, DWORD action)
 
BOOL SelectItem (HTREEITEM item, DWORD action=TVGN_CARET)
 

Detailed Description

Definition at line 477 of file rosctrls.h.

Member Function Documentation

◆ AddItem()

HTREEITEM CTreeView::AddItem ( HTREEITEM  hParent,
LPWSTR  lpText,
INT  Image,
INT  SelectedImage,
LPARAM  lParam 
)
inline

Definition at line 496 of file rosctrls.h.

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  }
HTREEITEM hParent
Definition: commctrl.h:3389
static PWSTR Image
Definition: pageheap.c:13
#define ZeroMemory
Definition: winbase.h:1648
#define TVIF_SELECTEDIMAGE
Definition: commctrl.h:3267
HTREEITEM hInsertAfter
Definition: commctrl.h:3390
#define TVI_LAST
Definition: commctrl.h:3366
HTREEITEM InsertItem(const TVINSERTSTRUCTW *pitem)
Definition: rosctrls.h:533
const DOCKBAR PVOID HWND hParent
Definition: tooldock.h:22
#define TVIF_TEXT
Definition: commctrl.h:3262
#define TVIF_IMAGE
Definition: commctrl.h:3263
#define TVIF_PARAM
Definition: commctrl.h:3264
#define TV_INSERTSTRUCT
Definition: commctrl.h:3373
LPARAM lParam
Definition: combotst.c:139

◆ Create()

HWND CTreeView::Create ( HWND  hwndParent)
inline

Definition at line 481 of file rosctrls.h.

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  }
#define WC_TREEVIEWW
Definition: commctrl.h:3239
#define WS_CHILD
Definition: pedump.c:617
smooth NULL
Definition: ftsmooth.c:416
static HWND hwndParent
Definition: cryptui.c:300
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)
#define WS_EX_CLIENTEDGE
Definition: winuser.h:384
#define TVS_SHOWSELALWAYS
Definition: commctrl.h:3248
#define TVS_HASLINES
Definition: commctrl.h:3244
#define WS_VISIBLE
Definition: pedump.c:620

Referenced by CMainWindow::CreateTreeView().

◆ DeleteItem()

BOOL CTreeView::DeleteItem ( HTREEITEM  i)
inline

Definition at line 538 of file rosctrls.h.

539  {
540  return (BOOL) SendMessage(TVM_DELETEITEM, 0, (LPARAM)i);
541  }
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 BOOL
Definition: ntddk_ex.h:94
LONG_PTR LPARAM
Definition: windef.h:208
#define TVM_DELETEITEM
Definition: commctrl.h:3410
#define SendMessage
Definition: winuser.h:5818

◆ EditLabel()

HWND CTreeView::EditLabel ( HTREEITEM  i)
inline

Definition at line 563 of file rosctrls.h.

564  {
565  return (HWND) SendMessage(TVM_EDITLABEL, 0, (LPARAM)i);
566  }
#define TVM_EDITLABEL
Definition: commctrl.h:3498
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
LONG_PTR LPARAM
Definition: windef.h:208
#define SendMessage
Definition: winuser.h:5818

◆ EnsureVisible()

BOOL CTreeView::EnsureVisible ( HTREEITEM  i)
inline

Definition at line 558 of file rosctrls.h.

559  {
560  return (BOOL) SendMessage(TVM_ENSUREVISIBLE, 0, (LPARAM)i);
561  }
#define TVM_ENSUREVISIBLE
Definition: commctrl.h:3540
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 BOOL
Definition: ntddk_ex.h:94
LONG_PTR LPARAM
Definition: windef.h:208
#define SendMessage
Definition: winuser.h:5818

◆ Expand()

BOOL CTreeView::Expand ( HTREEITEM  item,
DWORD  action 
)
inline

Definition at line 597 of file rosctrls.h.

598  {
600  }
#define TVM_EXPAND
Definition: commctrl.h:3415
LONG_PTR LPARAM
Definition: windef.h:208
const WCHAR * action
Definition: action.c:7783
static ATOM item
Definition: dde.c:856
#define SendMessage
Definition: winuser.h:5818

Referenced by CMainWindow::InitCategoriesList().

◆ GetItem()

BOOL CTreeView::GetItem ( TV_ITEM pitem)
inline

Definition at line 543 of file rosctrls.h.

544  {
545  return (BOOL) SendMessage(TVM_GETITEM, 0, reinterpret_cast<LPARAM>(pitem));
546  }
#define TVM_GETITEM
Definition: commctrl.h:3484
unsigned int BOOL
Definition: ntddk_ex.h:94
#define SendMessage
Definition: winuser.h:5818

Referenced by GetItemData(), and CMainWindow::IsSelectedNodeInstalled().

◆ GetItemCount()

int CTreeView::GetItemCount ( )
inline

Definition at line 553 of file rosctrls.h.

554  {
555  return SendMessage(TVM_GETCOUNT);
556  }
#define SendMessage
Definition: winuser.h:5818
#define TVM_GETCOUNT
Definition: commctrl.h:3427

◆ GetItemData()

DWORD_PTR CTreeView::GetItemData ( HTREEITEM  item)
inline

Definition at line 583 of file rosctrls.h.

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  }
LPARAM lParam
Definition: commctrl.h:3321
UINT mask
Definition: commctrl.h:3312
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
int ret
BOOL GetItem(TV_ITEM *pitem)
Definition: rosctrls.h:543
uint32_t DWORD_PTR
Definition: typedefs.h:64
static ATOM item
Definition: dde.c:856
HTREEITEM hItem
Definition: commctrl.h:3313
#define TVIF_PARAM
Definition: commctrl.h:3264

◆ GetItemState()

UINT CTreeView::GetItemState ( int  i,
UINT  mask 
)
inline

Definition at line 573 of file rosctrls.h.

574  {
576  }
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
GLenum GLint GLuint mask
Definition: glext.h:6028
LONG_PTR LPARAM
Definition: windef.h:208
#define TVM_GETITEMSTATE
Definition: treelist.h:336
#define SendMessage
Definition: winuser.h:5818

◆ GetNextItem()

HTREEITEM CTreeView::GetNextItem ( HTREEITEM  i,
WORD  flags 
)
inline

Definition at line 568 of file rosctrls.h.

569  {
571  }
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
LONG_PTR LPARAM
Definition: windef.h:208
GLbitfield flags
Definition: glext.h:7161
#define TVM_GETNEXTITEM
Definition: commctrl.h:3445
#define SendMessage
Definition: winuser.h:5818

Referenced by GetSelection().

◆ GetSelection()

HTREEITEM CTreeView::GetSelection ( )
inline

Definition at line 592 of file rosctrls.h.

593  {
594  return GetNextItem(NULL, TVGN_CARET);
595  }
#define TVGN_CARET
Definition: commctrl.h:3457
smooth NULL
Definition: ftsmooth.c:416
HTREEITEM GetNextItem(HTREEITEM i, WORD flags)
Definition: rosctrls.h:568

Referenced by CMainWindow::IsSelectedNodeInstalled().

◆ HitTest()

HTREEITEM CTreeView::HitTest ( TVHITTESTINFO phtInfo)
inline

Definition at line 578 of file rosctrls.h.

579  {
580  return (HTREEITEM) SendMessage(TVM_HITTEST, 0, reinterpret_cast<LPARAM>(phtInfo));
581  }
#define TVM_HITTEST
Definition: commctrl.h:3508
#define SendMessage
Definition: winuser.h:5818

◆ InsertItem()

HTREEITEM CTreeView::InsertItem ( const TVINSERTSTRUCTW pitem)
inline

Definition at line 533 of file rosctrls.h.

534  {
535  return (HTREEITEM) SendMessage(TVM_INSERTITEM, 0, reinterpret_cast<LPARAM>(pitem));
536  }
#define TVM_INSERTITEM
Definition: commctrl.h:3406
#define SendMessage
Definition: winuser.h:5818

Referenced by AddItem().

◆ SelectItem()

BOOL CTreeView::SelectItem ( HTREEITEM  item,
DWORD  action = TVGN_CARET 
)
inline

Definition at line 602 of file rosctrls.h.

603  {
605  }
#define TVM_SELECTITEM
Definition: commctrl.h:3474
LONG_PTR LPARAM
Definition: windef.h:208
const WCHAR * action
Definition: action.c:7783
static ATOM item
Definition: dde.c:856
#define SendMessage
Definition: winuser.h:5818

Referenced by CMainWindow::InitCategoriesList().

◆ SetBkColor()

BOOL CTreeView::SetBkColor ( COLORREF  cr)
inline

Definition at line 518 of file rosctrls.h.

519  {
520  return (BOOL) SendMessage(TVM_SETBKCOLOR, 0, cr);
521  }
#define TVM_SETBKCOLOR
Definition: commctrl.h:3571
unsigned int BOOL
Definition: ntddk_ex.h:94
#define SendMessage
Definition: winuser.h:5818

◆ SetImageList()

HIMAGELIST CTreeView::SetImageList ( HIMAGELIST  himl,
int  iImageList 
)
inline

Definition at line 528 of file rosctrls.h.

529  {
530  return (HIMAGELIST) SendMessage(TVM_SETIMAGELIST, iImageList, reinterpret_cast<LPARAM>(himl));
531  }
HIMAGELIST himl
#define TVM_SETIMAGELIST
Definition: commctrl.h:3442
#define SendMessage
Definition: winuser.h:5818

◆ SetItem()

BOOL CTreeView::SetItem ( const TV_ITEM pitem)
inline

Definition at line 548 of file rosctrls.h.

549  {
550  return (BOOL) SendMessage(TVM_SETITEM, 0, reinterpret_cast<LPARAM>(pitem));
551  }
unsigned int BOOL
Definition: ntddk_ex.h:94
#define SendMessage
Definition: winuser.h:5818
#define TVM_SETITEM
Definition: commctrl.h:3491

◆ SetRedraw()

void CTreeView::SetRedraw ( BOOL  redraw)
inline

Definition at line 513 of file rosctrls.h.

514  {
516  }
#define WM_SETREDRAW
Definition: winuser.h:1598
void redraw(int x, int y, int cx, int cy)
Definition: qtewin.cpp:1248
#define SendMessage
Definition: winuser.h:5818

◆ SetTextColor()

BOOL CTreeView::SetTextColor ( COLORREF  cr)
inline

Definition at line 523 of file rosctrls.h.

524  {
525  return (BOOL) SendMessage(TVM_SETTEXTCOLOR, 0, cr);
526  }
unsigned int BOOL
Definition: ntddk_ex.h:94
#define TVM_SETTEXTCOLOR
Definition: commctrl.h:3573
#define SendMessage
Definition: winuser.h:5818

The documentation for this class was generated from the following file: