Re: window background color issue?
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