Print Page | Close Window

Tree control produces multiple TVN_SELCHANGED

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=15462
Printed Date: 25 December 2024 at 2:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tree control produces multiple TVN_SELCHANGED
Posted By: znakeeye
Subject: Tree control produces multiple TVN_SELCHANGED
Date Posted: 26 October 2009 at 11:27am

EnableMultiSelect();

Then select multiple items at once. TVN_SELCHANGED will be sent for each item!


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: znakeeye
Date Posted: 26 October 2009 at 11:59am
Another flaw:
 
XTTreeBase.cpp(1652):
UINT_PTR nTimer = m_pTreeCtrl->SetTimer(1, SCROLL_TIMER_PERIOD, NULL); //for scroll
 
Using 1 for your timer is quite greedy. Often you use 1 for custom timers... Took me an hour to figure out why my timer died! :(


-------------
PokerMemento - http://www.pokermemento.com/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net