• 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: Dialog Command Keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog Command Keys


  • Subject: Re: Dialog Command Keys
  • From: Bill Appleton <email@hidden>
  • Date: Tue, 26 Jul 2011 14:47:59 -0700

hi greg, this application is the dreamfactory player, this is a stand-alone
development environment and also a NPAPI plugin for chrome, safari and
firefox.
there are huge limitations for npapi, for example, we only get a core
graphics surface to draw the app on not an nsview or an nswindow
the code base must work on windows and mac and this is half a million lines
of c and in order to have portability the dialogs are built out of a
platform independent xml description
but we are always looking for a better way and we probably could use
interface builder more

however the problem i am having is with all dialogs, even cocoa get file and
put file dialogs that are not dynamically built







On Tue, Jul 26, 2011 at 2:38 PM, Gregory Weston <email@hidden> wrote:

> Bill Appleton wrote:
>
> > Based on my app, the dialog boxes have to be created dynamically, so i
> can't
> > use Interface Builder, so they are assembled out of cocoa controls as
> > needed.
> >
> > My dialogs beep when i control-x to cut some selected text
> >
> > What is the simple way for my dialog window to pass these command keys
> > events down to the text views?
> >
> > Thanks in advance
>
> Not to be impertinent but through this thread I'm wondering if the OP is
> putting himself through this pain unnecessarily. There *are* certainly
> legitimate reasons to be building parts of your UI at runtime but in my
> experience it's vanishingly rare, especially for the entire application. Is
> this one of those scenarios where the most beneficial answer to "How do I do
> X" is "Don't?"
>
> So to Bill: What's the situation for your app that you've decided requires
> you to build everything at runtime? *Why* can't you use IB?
>
> Greg
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Dialog Command Keys (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: Dialog Command Keys
  • Next by Date: Re: Receiving unicode keyboard input
  • Previous by thread: Re: Dialog Command Keys
  • Next by thread: Problems with tearing down an NSStatusItem menu
  • Index(es):
    • Date
    • Thread