Re: Custom Window Resize Image
Re: Custom Window Resize Image
- Subject: Re: Custom Window Resize Image
- From: "Sean McBride" <email@hidden>
- Date: Thu, 4 Dec 2008 21:47:12 -0500
Ron Fleckner (email@hidden) 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 found at /System/Library/WidgetResources/resize.png
If you wanted to draw the standard grow box, you could use
HIThemeDrawGrowBox(). Relying on that file being at that location is fragile.
But...
Mr. Gecko (email@hidden) on 2008-12-04 1:01 PM said:
>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.
That's not at all what you asked. :) Perhaps you could clarify? To
change a window's size you can use the setFrame... methods.
Sean
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden