by Stephen Chu <stephen@[EMAIL PROTECTED]
>
Jun 21, 2005 at 05:55 PM
In article <iwankerl-C7E50E.13184921062005@[EMAIL PROTECTED]
>,
Isaac Wankerl <iwankerl@[EMAIL PROTECTED]
> wrote:
> In article <stephen-AED4FD.12385320062005@[EMAIL PROTECTED]
>,
> Stephen Chu <stephen@[EMAIL PROTECTED]
> wrote:
>
> > I am probably doing it wrong. But when I derive my class from a
> > SpecificEventDoer class, none of the SpecificCommandDoer inherited in
> > the same class works anymore. I guess the DoEvent in my class causes
it.
> >
> > Does it mean I have to do the dispatch work if I am to use
> > SpecificEventDoer?
>
> Are you calling Install() for your SpecificEventDoer? I would probably
> have to see a sample project showing the behavior to understand what
> might be incorrect.
I do. This is how I install it:
EventTargetRef targetRef = mWindow->GetSysEventTarget();
PPx::SpecificEventDoer<kEventClassControl,
kEventControlHit>::Install(targetRef);
My DoEvent method does nothing. This cause all the SpecificCommandDoer
not getting called. All the events are routed to my DoEvent.