• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Metal programatically...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Metal programatically...
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Metal programatically...
  • Next by Date: Re: Tracking files the right way
  • Previous by thread: Re: Metal programatically...
  • Next by thread: Re: Metal programatically...
  • Index(es):
    • Date
    • Thread