Click here to Skip to main content
15,891,431 members
Articles / Desktop Programming / MFC

Versatile Tree Control

Rate me:
Please Sign up or sign in to vote.
4.92/5 (16 votes)
18 Feb 2013CPOL12 min read 78.3K   5.9K   44  
Tree control with custom checkbox with several other features.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by CustomTreeCtrl.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_CUSTOMTREECTRL_DIALOG       102
#define IDC_NODROP                      106
#define IDR_MAINFRAME                   128
#define IDB_BITMAP_CHECK                129
#define IDB_BITMAP_CHECK_16             129
#define IDB_BITMAP_UNCHECK              130
#define IDB_BITMAP_UNCHECK_MASK         131
#define IDB_BITMAP_EMPTY                132
#define IDB_BITMAP_COMPANY              133
#define IDB_BITMAP_COMPANY_MASK         134
#define IDB_BITMAP_FOLDER               135
#define IDB_BITMAP_FOLDER_16            135
#define IDB_BITMAP_FOLDER_MASK          136
#define IDB_BITMAP_FOLDER_OPEN          137
#define IDB_BITMAP_FOLDER_OPEN_16       137
#define IDB_BITMAP_FOLDER_OPEN_MASK     138
#define IDB_BITMAP_HEAD                 139
#define IDB_BITMAP_HEAD_16              139
#define IDB_BITMAP_HEAD_MASK            140
#define IDB_BITMAP_MANAGER              141
#define IDB_BITMAP_MANAGER_16           141
#define IDB_BITMAP_MANAGER_MASK         142
#define IDB_BITMAP_CHECK_32             143
#define IDR_CONTEXT_MENU                144
#define IDD_DIALOG_ITEMNAME             145
#define IDB_BITMAP_DLGCHKBOX            147
#define IDB_BITMAP_FOLDER_32            153
#define IDB_BITMAP_FOLDER_OPEN_32       154
#define IDB_BITMAP_HEAD_32              155
#define IDB_BITMAP_MANAGER_32           156
#define IDB_BITMAP_NVIDIA               157
#define IDC_TREE_PROJECT                1000
#define IDC_LIST_SELECTED               1001
#define IDC_LIST_CHECKED                1003
#define IDC_BUTTON_ITERATE              1004
#define IDC_EDIT_NAME                   1005
#define IDC_EXPAND_TREE                 1010
#define IDC_EDIT1                       1012
#define IDM_BOLDITEM                    32771
#define IDM_INSERT_AFTER                32773
#define IDM_INSERT_BEFORE               32774
#define IDM_COLOR                       32775
#define IDM_DELETE                      32776
#define IDM_ADDCHECKBOX                 32777
#define IDM_REMOVECHKBOX                32778
#define IDM_NORMALITEM                  32779
#define IDM_DISABLE                     32780
#define IDM_ENABLE                      32781

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        158
#define _APS_NEXT_COMMAND_VALUE         32782
#define _APS_NEXT_CONTROL_VALUE         1013
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
India India
I'm working as Senior software Engineer since 7 years and interested in MFC and COM programming.

Comments and Discussions