Re: How to know user clicks [print] button in cocoa PDE
Re: How to know user clicks [print] button in cocoa PDE
- Subject: Re: How to know user clicks [print] button in cocoa PDE
- From: Mike Abdullah <email@hidden>
- Date: Fri, 8 Sep 2006 15:56:40 +0100
Trust me, posting the same thing four times is not going to help…
Mike.
On 8 Sep 2006, at 09:38, Jeff Chen wrote:
Hi All,
I met with a problem when I made PDE with cocoa:
I can't catch the event that user presses [Print] button, in carbon
PDE, I can get the ControlRef of [Print] button and install event
handler to it. However, in cocoa, I can only get the NSButton *
pointer of [Print] button, but I can't install event handler to
NSControl in cocoa. I can only use the event in NSResponder. But
NSResponder doesn't provide the event that handles the clicking of
[Print] Button.
Who knows how I can catch the event that user clicks [print] Button
in cocoa? Or who knows how to install event handler to a special
NSControl in cocoa?
Best Regards
Jeff Chen _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden