![]() |
CtreeCtrl's problem |
Post Reply
|
| Author | |
brucerain
Newbie
Joined: 13 March 2007 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: CtreeCtrl's problemPosted: 02 December 2008 at 9:04pm |
|
1.Remove the image of the tree item and Run the CtreeCtrl demo ,then click "Start->Settings->Taskbar and start menu" , do nothing and then
click "OK" button , you will find that the expand button in the demo
program became a little smaller.
2. Run the demo with the image of the tree item, all is OK. 3.Do the same with the tree control not using the ctreectrl class, all is OK. What's the reason? ![]() ![]() |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 December 2008 at 4:40am |
|
Hi,
Can you attach some screenshots ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
brucerain
Newbie
Joined: 13 March 2007 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 December 2008 at 11:37pm |
|
Steps to reproduce it:
Comment the following code lines in the TreeCtrl sample in version 11.2: void CSelectTreeCtrl::PreSubclassWindow() { CTreeCtrl::PreSubclassWindow(); m_pParentDlg = DYNAMIC_DOWNCAST(CTreeCtrlDlg, GetParent()); ASSERT_VALID(m_pParentDlg); // CBitmap bitmap; // bitmap.LoadBitmap(IDB_TREE_IMAGES); // m_imageList.Create(16, 16, ILC_COLOR24|ILC_MASK, 2, 1); // m_imageList.Add(&bitmap, RGB(0,255,0)); // SetImageList(&m_imageList, TVSIL_NORMAL); } Compile and run it, and then do the steps in the previous message. |
|
![]() |
|
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 |