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);
}
-
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'
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]
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
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
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
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
>
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