Re: Metal programatically...
Re: Metal programatically...
- Subject: Re: Metal programatically...
- From: Clark Mueller <email@hidden>
- Date: Fri, 30 Aug 2002 16:43:22 -0600
Okay... I'm implementing this as a preference in an app, after much
pestering from one of my documentation writers. So I can check on the
initialization of the window as to the preference state, and if it's
set to textured, I can set the window with that style mask? By "it
can't be changed", you mean until the next time the window is
initialized, right?
Thanks,
Clark
On Friday, August 30, 2002, at 04:38 PM, Umed Zokirov wrote:
>
Clark
>
>
One place where you can do it is in NSWindow's method
>
>
initWithContentRect:(NSRect)contentRect
>
styleMask:(unsigned int)styleMask
>
backing:(NSBackingStoreType)backingType
>
defer:(BOOL)flag
>
>
>
you pass NSTexturedBackgroundWindowMask in styleMask parameter
>
>
Once it is set it can't be changed
>
>
Look into NSWindow in Appkit for more info
>
>
Note that this works only for 10.2 better Umed
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.