• 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
refresh window's background/mask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

refresh window's background/mask


  • Subject: refresh window's background/mask
  • From: Craig Hunter <email@hidden>
  • Date: Sat, 23 Apr 2005 13:28:43 -0400

I have a transparent window in my app, and I want to be able to turn the
transparency on/off with a checkbox.  I am able to do that for the most
part.  If the window starts out as transparent, I can toggle back and forth
between transparent and opaque no problem.  If the window starts out opaque,
toggling back and forth between opaque and transparent has no visible effect
unless I first hide/show the window manually in a transparent state.  I
believe it's an issue with the window's mask.

I am calling a window update whenever the mode is changed, which is
definitely required to have any effect.  But nothing I have tried forces the
background/mask to refresh when the window starts out opaque.  Any ideas?

thanks,
Craig

--
Dr. Craig A. Hunter
NASA Langley Research Center
AAAC / Configuration Aerodynamics Branch
(757) 864-3020
email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: refresh window's background/mask
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Project "detaches" itself from Log window. Help!
  • Next by Date: Re: Java vs. Objective-C for Cocoa
  • Previous by thread: Re: Cocoa binding question
  • Next by thread: Re: refresh window's background/mask
  • Index(es):
    • Date
    • Thread