[Openmcl-devel] Scribble demo

Raffael Cavallaro raffaelcavallaro at mac.com
Wed Jun 3 08:06:35 PDT 2009

On Jun 3, 2009, at 2:41 AM, Ron Garret wrote:

>  It's a useful example, I think, because it's very small, self- 
> contained, and illustrates a lot of major UI concepts, including  
> drawing and event handling.  It's still rough, probably leaks a lot  
> of memory, but it works.

One small comment; you may want to use makeKeyAndOrderFront: rather  
than orderFront: or your window will be on top, but not have focus  
(the title bar will be grayed, user will have to click on it to give  
it focus).

Thanks for sharing this.

warmest regards,


Raffael Cavallaro
raffaelcavallaro at me.com

More information about the Openmcl-devel mailing list