Re: media support test, autostart and keyboard event
Re: media support test, autostart and keyboard event
- Subject: Re: media support test, autostart and keyboard event
- From: Andreas Mayer <email@hidden>
- Date: Fri, 26 Sep 2003 20:15:20 +0200
Am Freitag, 26.09.03 um 16:53 Uhr schrieb Emmanuel Verlynde:
1- I don't know how to test type of support where is launched
application (hard disk or cdrom ?).
I'm not sure I understand this question. You can get the application's
path from
[[NSBundle mainBundle] bundlePath]
2- How trap keyboard key press event into window or button if user
click on nsbutton with "ctrl" key pressed..?
There might be a better way, but you could subclass NSButton and
overwrite NSResponder's flagsChanged: method.
3- And how make a mac autostart application on cdrom?
You don't.
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.