processing keyboard events
processing keyboard events
- Subject: processing keyboard events
- From: stefano iacus <email@hidden>
- Date: Mon, 26 Jul 2004 11:10:58 +0200
Hi,
I've the following problem.
As a reference I've started from the Tiny2.m example in "Building Cocoa
apps" (O'Reilly).
This is a simple program run from the shell that opens a window, draw
something inside and also allows for mouse event to be processed.
I found no way to add menus or process keyboard events.
is there any way to get keyDown event processed? Suppose I want to
press "k" and play a sound or draw a box on the window.
Is there any working example around? Possibly not IB based?
stefano
_______________________________________________
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.