Hi Yogesh
I have amended the control so that you can receive scroll events --see feature
tracker #3082693 and the sample for details.
You can implement an OnScroll() method for your 2 controls, and ensure that
scrolling in one gets applied to the other.
Good luck
Ronan
On 15/10/2010 07:14, Yogesh Chaturvedi wrote:
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 <pgrid...@yahoo.fr
<mailto:pgrid...@yahoo.fr>> 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
<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 list
wxCode-users@lists.sourceforge.net
<mailto:wxCode-users@lists.sourceforge.net>
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
wxCode-users@lists.sourceforge.net
<mailto:wxCode-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wxcode-users
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users