• 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: window background color issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: window background color issue?


  • Subject: Re: window background color issue?
  • From: Dominik Pich <email@hidden>
  • Date: Sun, 25 Feb 2007 14:09:04 +0100

NSWindow's setOpacity works...
Im not sure a window CAN have abg color with alpha?

Am Feb 25, 2007 um 9:42 PM schrieb Red XIII:

This is a impossible problem:
I want to set my window background color to black with the code followed:
-(void) applicationDidFinishLaunching:(NSNotification *) aNotification{
printf("here\n");// In the console, this code executed.

[myWindow setBackgroundColor: [NSColor colorWithCalibratedWhite: 0.5 alpha:0.5]];
[myWindow setTitle:@"Color"];
[myWindow setOpaque:NO];
}


however, nothing happened. Window doesn't turn transparent. Can anyone tell me what is the problem?
I have set the AppControl to the application's delegation.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: window background color issue?
      • From: Shawn Erickson <email@hidden>
References: 
 >window background color issue? (From: Red XIII <email@hidden>)

  • Prev by Date: window background color issue?
  • Next by Date: Re: window background color issue?
  • Previous by thread: window background color issue?
  • Next by thread: Re: window background color issue?
  • Index(es):
    • Date
    • Thread