• 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: Giving an NSWindow a mask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Giving an NSWindow a mask


  • Subject: Re: Giving an NSWindow a mask
  • From: Austin Sarner <email@hidden>
  • Date: Wed, 02 Feb 2005 19:11:50 -0800

While this certainly makes the window invisible while maintaining its content, it won't catch clicks for some reason.  If I up the alpha value to 0.5 then it will...very strange.  Is there any way to still accept clicks even if it is completely transparent?  Thanks a bunch for the response.


On Wednesday, February 02, 2005, at 07:01PM, Eric Ocean <email@hidden> wrote:

>I think you can just set the background color of the window to a color
>with a 0.0 alpha channel.
>
>Best, Eric
>
>On Feb 2, 2005, at 6:49 PM, Austin Sarner wrote:
>
>> Hey, is there any way to make an nswindow 'invisible' by giving it a
>> completely white mask?  The controls in the window still need to be
>> visible, so setAlphaValue is not sufficient.  If anyone can point me
>> in the right direction as to how to go about setting a window's mask,
>> I would greatly appreciate it.
>>  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> email@hidden
>>
>> This email sent to 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

References: 
 >Giving an NSWindow a mask (From: Austin Sarner <email@hidden>)

  • Prev by Date: Giving an NSWindow a mask
  • Next by Date: NSCalendarDate picker widget?
  • Previous by thread: Giving an NSWindow a mask
  • Next by thread: NSCalendarDate picker widget?
  • Index(es):
    • Date
    • Thread