• 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
Two sheets related questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two sheets related questions


  • Subject: Two sheets related questions
  • From: Huibert Aalbers <email@hidden>
  • Date: Mon, 11 Jul 2005 17:58:47 -0500

Hi,

I am writing an application that behaves like Keynote or Pages. When
the app starts a new document is opened whit a sheet that allows the
user to select a template from a list. Everything works fine except:

1) When a a template icon receives a double-click I can detect it but
I would like to simulate a click on the default button. I guess that
the bes way to do that is to use NSEvent's (NSEvent
*)keyEventWithType:(NSEventType)type... however there are so many
parameters in this function that I have not ben able to successfully
use it. Does anyone have a working example?

2) I have noticed that when I have a document with an open sheet in
Keynote I can press Cmd-Q to quit the app but in my case the Sheet
seems to consume the event. How can I pass it to the application?

Thanks in advance,

Huibert

--
Viisit my home page at http://www.huibert-aalbers.com
 _______________________________________________
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

  • Prev by Date: Re: State based on front most document (was RE: Documentation frustrations)
  • Next by Date: Re: Why does this leak memory?
  • Previous by thread: Re: Searching List Archives
  • Next by thread: Re: Two sheets related questions
  • Index(es):
    • Date
    • Thread