ReactOS  0.4.13-dev-656-g74bcf30
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 459 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 478 of file rosctrls.h.

479  {
480  TVINSERTSTRUCTW Insert;
481 
482  ZeroMemory(&Insert, sizeof(TV_INSERTSTRUCT));
483 
485  Insert.hInsertAfter = TVI_LAST;
486  Insert.hParent = hParent;
487  Insert.item.iSelectedImage = SelectedImage;
488  Insert.item.iImage = Image;
489  Insert.item.lParam = lParam;
490  Insert.item.pszText = lpText;
491 
492  return InsertItem(&Insert);
493  }
HTREEITEM hParent
Definition: commctrl.h:3365
static PWSTR Image
Definition: pageheap.c:13
#define ZeroMemory
Definition: winbase.h:1635
#define TVIF_SELECTEDIMAGE
Definition: commctrl.h:3243
HTREEITEM hInsertAfter
Definition: commctrl.h:3366
#define TVI_LAST
Definition: commctrl.h:3342
HTREEITEM InsertItem(const TVINSERTSTRUCTW *pitem)
Definition: rosctrls.h:515
const DOCKBAR PVOID HWND hParent
Definition: tooldock.h:22
#define TVIF_TEXT
Definition: commctrl.h:3238
#define TVIF_IMAGE
Definition: commctrl.h:3239
#define TVIF_PARAM
Definition: commctrl.h:3240
#define TV_INSERTSTRUCT
Definition: commctrl.h:3349
LPARAM lParam
Definition: combotst.c:139

◆ Create()

HWND CTreeView::Create ( HWND  hwndParent)
inline

Definition at line 463 of file rosctrls.h.

464  {
466  WC_TREEVIEWW,
467  L"",
469  0, 28, 200, 350,
470  hwndParent,
471  NULL,
472  _AtlBaseModule.GetModuleInstance(),
473  NULL);
474 
475  return m_hWnd;
476  }
#define WC_TREEVIEWW
Definition: commctrl.h:3215
#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:3224
#define TVS_HASLINES
Definition: commctrl.h:3220
#define WS_VISIBLE
Definition: pedump.c:620

Referenced by CMainWindow::CreateTreeView().

◆ DeleteItem()

BOOL CTreeView::DeleteItem ( HTREEITEM  i)
inline

Definition at line 520 of file rosctrls.h.

521  {
522  return (BOOL) SendMessage(TVM_DELETEITEM, 0, (LPARAM)i);
523  }
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:3386
#define SendMessage
Definition: winuser.h:5741

◆ EditLabel()

HWND CTreeView::EditLabel ( HTREEITEM  i)
inline

Definition at line 545 of file rosctrls.h.

546  {
547  return (HWND) SendMessage(TVM_EDITLABEL, 0, (LPARAM)i);
548  }
#define TVM_EDITLABEL
Definition: commctrl.h:3474
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:5741

◆ EnsureVisible()

BOOL CTreeView::EnsureVisible ( HTREEITEM  i)
inline

Definition at line 540 of file rosctrls.h.

541  {
542  return (BOOL) SendMessage(TVM_ENSUREVISIBLE, 0, (LPARAM)i);
543  }
#define TVM_ENSUREVISIBLE
Definition: commctrl.h:3516
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:5741

◆ Expand()

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

Definition at line 579 of file rosctrls.h.

580  {
582  }
#define TVM_EXPAND
Definition: commctrl.h:3391
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:5741

Referenced by CMainWindow::InitCategoriesList().

◆ GetItem()

BOOL CTreeView::GetItem ( TV_ITEM pitem)
inline

Definition at line 525 of file rosctrls.h.

526  {
527  return (BOOL) SendMessage(TVM_GETITEM, 0, reinterpret_cast<LPARAM>(pitem));
528  }
#define TVM_GETITEM
Definition: commctrl.h:3460
unsigned int BOOL
Definition: ntddk_ex.h:94
#define SendMessage
Definition: winuser.h:5741

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

◆ GetItemCount()

int CTreeView::GetItemCount ( )
inline

Definition at line 535 of file rosctrls.h.

536  {
537  return SendMessage(TVM_GETCOUNT);
538  }
#define SendMessage
Definition: winuser.h:5741
#define TVM_GETCOUNT
Definition: commctrl.h:3403

◆ GetItemData()

DWORD_PTR CTreeView::GetItemData ( HTREEITEM  item)
inline

Definition at line 565 of file rosctrls.h.

566  {
567  TVITEMW lvItem;
568  lvItem.hItem = item;
569  lvItem.mask = TVIF_PARAM;
570  BOOL ret = GetItem(&lvItem);
571  return (DWORD_PTR) (ret ? lvItem.lParam : NULL);
572  }
LPARAM lParam
Definition: commctrl.h:3297
UINT mask
Definition: commctrl.h:3288
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
int ret
BOOL GetItem(TV_ITEM *pitem)
Definition: rosctrls.h:525
uint32_t DWORD_PTR
Definition: typedefs.h:63
static ATOM item
Definition: dde.c:856
HTREEITEM hItem
Definition: commctrl.h:3289
#define TVIF_PARAM
Definition: commctrl.h:3240

◆ GetItemState()

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

Definition at line 555 of file rosctrls.h.

556  {
558  }
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:5741

◆ GetNextItem()

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

Definition at line 550 of file rosctrls.h.

551  {
553  }
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:3421
#define SendMessage
Definition: winuser.h:5741

Referenced by GetSelection().

◆ GetSelection()

HTREEITEM CTreeView::GetSelection ( )
inline

Definition at line 574 of file rosctrls.h.

575  {
576  return GetNextItem(NULL, TVGN_CARET);
577  }
#define TVGN_CARET
Definition: commctrl.h:3433
smooth NULL
Definition: ftsmooth.c:416
HTREEITEM GetNextItem(HTREEITEM i, WORD flags)
Definition: rosctrls.h:550

Referenced by CMainWindow::IsSelectedNodeInstalled().

◆ HitTest()

HTREEITEM CTreeView::HitTest ( TVHITTESTINFO phtInfo)
inline

Definition at line 560 of file rosctrls.h.

561  {
562  return (HTREEITEM) SendMessage(TVM_HITTEST, 0, reinterpret_cast<LPARAM>(phtInfo));
563  }
#define TVM_HITTEST
Definition: commctrl.h:3484
#define SendMessage
Definition: winuser.h:5741

◆ InsertItem()

HTREEITEM CTreeView::InsertItem ( const TVINSERTSTRUCTW pitem)
inline

Definition at line 515 of file rosctrls.h.

516  {
517  return (HTREEITEM) SendMessage(TVM_INSERTITEM, 0, reinterpret_cast<LPARAM>(pitem));
518  }
#define TVM_INSERTITEM
Definition: commctrl.h:3382
#define SendMessage
Definition: winuser.h:5741

Referenced by AddItem().

◆ SelectItem()

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

Definition at line 584 of file rosctrls.h.

585  {
587  }
#define TVM_SELECTITEM
Definition: commctrl.h:3450
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:5741

Referenced by CMainWindow::InitCategoriesList().

◆ SetBkColor()

BOOL CTreeView::SetBkColor ( COLORREF  cr)
inline

Definition at line 500 of file rosctrls.h.

501  {
502  return (BOOL) SendMessage(TVM_SETBKCOLOR, 0, cr);
503  }
#define TVM_SETBKCOLOR
Definition: commctrl.h:3547
unsigned int BOOL
Definition: ntddk_ex.h:94
#define SendMessage
Definition: winuser.h:5741

◆ SetImageList()

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

Definition at line 510 of file rosctrls.h.

511  {
512  return (HIMAGELIST) SendMessage(TVM_SETIMAGELIST, iImageList, reinterpret_cast<LPARAM>(himl));
513  }
HIMAGELIST himl
#define TVM_SETIMAGELIST
Definition: commctrl.h:3418
#define SendMessage
Definition: winuser.h:5741

◆ SetItem()

BOOL CTreeView::SetItem ( const TV_ITEM pitem)
inline

Definition at line 530 of file rosctrls.h.

531  {
532  return (BOOL) SendMessage(TVM_SETITEM, 0, reinterpret_cast<LPARAM>(pitem));
533  }
unsigned int BOOL
Definition: ntddk_ex.h:94
#define SendMessage
Definition: winuser.h:5741
#define TVM_SETITEM
Definition: commctrl.h:3467

◆ SetRedraw()

void CTreeView::SetRedraw ( BOOL  redraw)
inline

Definition at line 495 of file rosctrls.h.

496  {
498  }
#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:5741

◆ SetTextColor()

BOOL CTreeView::SetTextColor ( COLORREF  cr)
inline

Definition at line 505 of file rosctrls.h.

506  {
507  return (BOOL) SendMessage(TVM_SETTEXTCOLOR, 0, cr);
508  }
unsigned int BOOL
Definition: ntddk_ex.h:94
#define TVM_SETTEXTCOLOR
Definition: commctrl.h:3549
#define SendMessage
Definition: winuser.h:5741

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