|
From: Yogesh C. <ych...@gm...> - 2010-10-05 04:24:52
|
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
|