i'm creating a scrollbar at runtime using the following:
how do i capture scroll events in the handler for the window this control was created in? i've tried kEventClassControl, kEventControlClick with InstallControlEventHandler just to capture a click, but it only captures clicks in the window, not the scrollbar control.
also, i'm using a compositing window with hiview.
Code:
CreateScrollBarControl(window,&sb_vert_rect,0,0,100,50,true,ScrollingFeedbackProc,&sb);
how do i capture scroll events in the handler for the window this control was created in? i've tried kEventClassControl, kEventControlClick with InstallControlEventHandler just to capture a click, but it only captures clicks in the window, not the scrollbar control.
also, i'm using a compositing window with hiview.