Re: Dialog Command Keys
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