Subclassing Reaction ListBrowser
Posted: Sat Jun 08, 2013 2:50 am
I'd like to make a small customization to the Reaction ListBrowser by subclassing
(to track the GM_GoActive messages) and as a first step I wrote a Boopsi private
class whose Dispatcher simply calls IDoSuperMethodA() for every incoming message.
I expected that using an object of my subclass would then behave exactly like the
Reaction ListBrowser. But it does not behave exactly.
This is the ListBrowser on AOS 4.1 upd 6 and public SDK 53.20.
The subclass does mirror the ListBrowser behaviour except for the use of the
V or H scrollers that are part of ListBrowser. It seems to have lost the refreshing
of the browser display itself in response to the scrollers. The first click on the scroller
usually does refresh the browser list displayed, but after that little or no refreshing
of the browser list occurs with scroller movement. (However forcing a refresh
by moving the window behind another one and then back to the front shows
the proper list display).
It sounds like this has something to do with OM_Notify. Does anyone have an
explanation?
Thanks,
Tom
(to track the GM_GoActive messages) and as a first step I wrote a Boopsi private
class whose Dispatcher simply calls IDoSuperMethodA() for every incoming message.
I expected that using an object of my subclass would then behave exactly like the
Reaction ListBrowser. But it does not behave exactly.
This is the ListBrowser on AOS 4.1 upd 6 and public SDK 53.20.
The subclass does mirror the ListBrowser behaviour except for the use of the
V or H scrollers that are part of ListBrowser. It seems to have lost the refreshing
of the browser display itself in response to the scrollers. The first click on the scroller
usually does refresh the browser list displayed, but after that little or no refreshing
of the browser list occurs with scroller movement. (However forcing a refresh
by moving the window behind another one and then back to the front shows
the proper list display).
It sounds like this has something to do with OM_Notify. Does anyone have an
explanation?
Thanks,
Tom