CXTShellTree and TVS_CHECKBOXES? |
Post Reply |
Author | |
tomo
Newbie Joined: 07 December 2004 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 07 December 2004 at 8:39pm |
Is the TVS_CHECKBOXES style supported by the CXTShellTree class?
Currently the tree view will display correctly until the mouse is moved
over the items and then the checkboxes disappear.
The GUI_Explorer sample can be modified to show the effect... if( !m_shellTree.Create(WS_VISIBLE | TVS_CHECKBOXES, CRect(0,0,0,0), this, IDC_TREE_VIEW)) |
|
ICBM
Groupie Joined: 15 January 2004 Location: New Zealand Status: Offline Points: 57 |
Post Options
Thanks(0)
|
I reported this as a bug just recently, confirmed by codejock. Replace as follows and rebuild the codejock libraries: In XTTreeBase.cpp, replace #define TVIS_UNDERLINE 0x1000 with #define TVIS_UNDERLINE 0x10000 Also, unrelated bug that may cause your tree control to not be populated... In CXTShellTreeBase::InitializeTree, replace if (!m_pTreeCtrl->ModifyStyle(NULL, dwStyle)) { return FALSE; } withm_pTreeCtrl->ModifyStyle(NULL, dwStyle);
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |