Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > OOP Powerplant for Mac > Re: PPx::Specif...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 394 of 484
Post > Topic >>

Re: PPx::SpecificEventDoer

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.
 




 3 Posts in Topic:
PPx::SpecificEventDoer
Stephen Chu <stephen@[  2005-06-20 12:38:53 
Re: PPx::SpecificEventDoer
Isaac Wankerl <iwanker  2005-06-21 13:18:49 
Re: PPx::SpecificEventDoer
Stephen Chu <stephen@[  2005-06-21 17:55:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 15:44:16 CST 2008.