Re: Application without menu: How to get Cmd-C event?
Re: Application without menu: How to get Cmd-C event?
- Subject: Re: Application without menu: How to get Cmd-C event?
- From: daniel <email@hidden>
- Date: Sun, 23 Jan 2005 13:08:55 -0800
I had to do something like this in one of my applications.
What I did, which works but may not be the ideal solution, is to put
several buttons in the window, but outside of the visible bounds of the
view. Set them up with the desired keyboard equivalents, and connect
them to FirstResponder with, e.g., the "copy" action.
Daniel
On Jan 23, 2005, at 10:09 AM, Stefan Landvogt wrote:
Hi,
I am writing an application without a menu and without any appearance
in the dock.
Windows etc. are working fine, but Cut/Copy/Paste in text input fields
is not working anymore, because there is no Edit-Menu.
Is there an easy way to 'simulate' that Edit menu?
Writing a method like -(IBAction)paste:(id)sender; for the application
delegate or the windows delegate did not work.
Thanks for any hint,
Stefan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.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