My Question was : How to achieve that via Cocoa . Rather in Code i just need a Guidline or a Plan what i should look for , where to start , general things , what Concepts i should look for.
Read the conceptual documentation on event handling, specifically on how to handle mouse events in a view.
Then look for some AppKit sample code that demonstrates using a custom view that handles mouse events; I don't remember any offhand, but I know there are several examples like this. Read the code, run it, play with it and make it do some new things until you feel you understand what it's doing.
A tip: You can simplify your drawing code by making your view subclass NSImageView. Then the base class will take care of all the drawing; all you have to do is call [self setImage: [NSImage imageNamed: name]] where 'name' is the name of the image corresponding to the current state of the knob.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
