Re: create custom control same as multiple monitor control that manages monitors windows

2009-01-12 Thread I. Savant
On Mon, Jan 12, 2009 at 11:17 AM, Paul Bruneau wrote: > You know, it's funny, when I first started my first Cocoa project as a total > Cocoa newb I wanted to use controls/cells for my rectangles but I was > strongly advised against it by very highly regarded Cocoa gurus. :-) I can see the argu

Re: create custom control same as multiple monitor control that manages monitors windows

2009-01-12 Thread Paul Bruneau
On Jan 12, 2009, at 10:54 AM, I. Savant wrote: On Mon, Jan 12, 2009 at 10:48 AM, Paul Bruneau wrote: The way I did a similar thing (and I think this is the standard way) was to create a custom NSView subclass to draw the control. Well ... the *standard* way is to use the control/cell sys

Re: create custom control same as multiple monitor control that manages monitors windows

2009-01-12 Thread I. Savant
On Mon, Jan 12, 2009 at 10:48 AM, Paul Bruneau wrote: > The way I did a similar thing (and I think this is the standard way) was to > create a custom NSView subclass to draw the control. Well ... the *standard* way is to use the control/cell system, but the *easier* way is sometimes to simply

Re: create custom control same as multiple monitor control that manages monitors windows

2009-01-12 Thread Paul Bruneau
On Jan 12, 2009, at 12:19 AM, Gami Ravi wrote: Hi All, I want to create custom control that looks like a multiple monitor control that manages monitors on Mac. The custom control should allow the rectangle dragging and resizing same way we are moving monitor rectangle can be moved. If the

create custom control same as multiple monitor control that manages monitors windows

2009-01-11 Thread Gami Ravi
Hi All, I want to create custom control that looks like a multiple monitor control that manages monitors on Mac. The custom control should allow the rectangle dragging and resizing same way we are moving monitor rectangle can be moved. If there are two rectangles then custom control should not