From: Yogesh C. <ych...@gm...> - 2010-10-15 05:14:25
|
hi, Sorry for late reply i was out out station, Thanks for information, can u help me to guide me what exactly i need to do, 1. Whether i need to modify the the movement of treelistwindow with scroll position of scroll bar, i am unable to find out how i can proceed now. Thanks in advance Yogesh On Wed, Oct 6, 2010 at 4:09 PM, PGridDev <pgr...@ya...> wrote: > Hi > indeed scrolling events from wxTreeListMainWindow do not propagate to the > main class wxTreeListCtrl > As a workaround if you are in a hurry: modify > wxTreeListMainWindow::OnScroll() to get called for those events > The functionality ought to be added to the control, would you mind opening > a ticket in the feature tracker ? > https://sourceforge.net/tracker/?func=add&group_id=51305&atid=462819 > Thanks, > Ronan > > > On 05/10/2010 06:24, Yogesh Chaturvedi wrote: > > Hi, > > I am using wxTreeListCtrl and application is to compare two directory that's why i need two wxTreeListCtrl and have synchronization between them when scroll window, mean to say that if directory have long list > and need to scroll the control the otherside or second wxTreelistctrl should also move as first is moving. > My problem is that i am unable to pick scroll event of wxTreeListCtrl, I have applied handler*wxwidgets:* > EVT_SCROLLWIN(MyTreeCtrlEx::OnScroll)void MyTreeCtrlEx:: OnScroll(wxScrollWinEvent& event) > { wxMessageBox(_("Scroll Event Fired"));} > and apply breakpoint but cursor do not hit breakpoint, After exploring i come to know that wxTreeListCtrl do not generate any event and there is > a class wxMainWindow that handle the scroll event and it is a member variable in wxTreeListCtrl class , but i am unable to find out how can i > implement the scroll event in my application, it is essential for application. Is is possible to get scroll event. > > OS : Linux: Ubunto-9 > > wxTreeListCtrl version : treelistctrl.h,v 1.1 2010-07-01 12:44:54 > > > > Yogesh > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today.http://p.sf.net/sfu/beautyoftheweb > > > _______________________________________________ > wxCode-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/wxcode-users > > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > wxCode-users mailing list > wxC...@li... > https://lists.sourceforge.net/lists/listinfo/wxcode-users > > |