On Nov 19, 2008, at 12:37 PM, Emmanuel Pinault wrote:

How do I make a button like the mini calendar in ical (the one that show the days and when one is selected , it shows the day with a blue gradient)?


You've got to write one yourself and do all of the drawing, calendrical calculations (which is made somewhat easier by the NSCalendar class), event handling, etc. This is not easy if you are a beginner.

Of course, if mimicking the UI is not important, then you can use the built-in NSDatePicker control.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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]

Reply via email to