Re: Custom Window Resize Image

2008-12-06 Thread Mr. Gecko
Thanks, I'm going to share what I did, just incase someone else is wanting to know how to do this. - (void)mouseDown:(NSEvent *)theEvent { // Resize if mouse is in the growbox isResizing = NSPointInRect([self convertPoint:[theEvent locationInWindow] fromView:nil], growRect); } -

Re: Custom Window Resize Image

2008-12-05 Thread Ron Fleckner
Hi Mr. Gecko, I made a borderless window which I wanted to be resizable, so I put a copy of resize.png in my app's resources. During startup, I add it to the bottom right corner of my window, then by implementing mouse down and mouse dragged, implement my own window resizing mechanism. It'

Re: Custom Window Resize Image

2008-12-04 Thread Mr. Gecko
Ok so I've done some looking around more in the documents, would it be possible to make a button that has a picture of the grow box and than have it send an action when it's dragged using NSLeftMouseDraggedMask. On Dec 4, 2008, at 8:47 PM, Sean McBride wrote: Ron Fleckner ([EMAIL PROTECTED]

Re: Custom Window Resize Image

2008-12-04 Thread Sean McBride
Ron Fleckner ([EMAIL PROTECTED]) on 2008-12-04 12:52 AM said: >> Hello, I'm writing a custom window for my application, but I can't >> figure out how to make a custom resize image... Any help? >> >> Thanks, >> Mr. Gecko > >Unless you actually want a 'custom' resize image, you can use the real >one

Re: Custom Window Resize Image

2008-12-04 Thread Mr. Gecko
I'm not needing to know how to draw it, I'm needing to know how to make it functional. so if someone clicks and drags it would resize the window. On Dec 3, 2008, at 11:22 PM, Aby wrote: Hi, NSDrawNinePartImage may do the job... Regards Abin On 12/4/08, Mr. Gecko <[EMAIL PROTECTED]> wro

Re: Custom Window Resize Image

2008-12-03 Thread Ron Fleckner
On 04/12/2008, at 6:03 AM, Mr. Gecko wrote: Hello, I'm writing a custom window for my application, but I can't figure out how to make a custom resize image... Any help? Thanks, Mr. Gecko Unless you actually want a 'custom' resize image, you can use the real one found at /System/Library/W

Re: Custom Window Resize Image

2008-12-03 Thread Aby
Hi, NSDrawNinePartImage may do the job... Regards Abin On 12/4/08, Mr. Gecko <[EMAIL PROTECTED]> wrote: > Hello, I'm writing a custom window for my application, but I can't figure > out how to make a custom resize image... Any help? > > Thanks, > Mr. Gecko >

Custom Window Resize Image

2008-12-03 Thread Mr. Gecko
Hello, I'm writing a custom window for my application, but I can't figure out how to make a custom resize image... Any help? Thanks, Mr. Gecko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comm