window background color issue?
window background color issue?
- Subject: window background color issue?
- From: Red XIII <email@hidden>
- Date: Sun, 25 Feb 2007 20:42:41 +0000
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