You do all the drawing in paint.

In mouse click you can invalidate or refresh.

This is how all the operating systems prefer it.

On 15.12.2010, at 22:18, Phil Weiss wrote:

> 
> I want to create a Cocoa plug-in that will implement an interactive view on
> a window (just like a control).  I have started with the "Dial Control"
> example.  I am able to get the 'CGContextRef' and draw what I need for the
> redraw event.  However, I would like to be able to draw in the view when I
> receive a mouse click (and move objects around while the mouse is down).
> Can drawing be done on a mouse click, and how can I get the 'CGContextRef'?
> 
> 
> Thanks in advance,
> 
> Phil
> 
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

--
______________________________________________________________________
Björn Eiríksson                        [email protected]
Einhugur Software                     
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 87 countries world wide.
______________________________________________________________________
For support:                           [email protected]
To post on the maillist:               [email protected]




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to