• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to know user clicks [print] button in cocoa PDE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How to know user clicks [print] button in cocoa PDE (From: "Jeff Chen" <email@hidden>)

  • Prev by Date: Re: Unable to parse xml
  • Next by Date: Re: Unable to parse xml
  • Previous by thread: How to know user clicks [print] button in cocoa PDE
  • Next by thread: RE: How to know user clicks [print] button in cocoa PDE
  • Index(es):
    • Date
    • Thread