Sandro Noël (sandro.n...@gestosoft.com) on 2010-02-15 00:36 said:

>- (void) awakeFromNib{
>
>[window setStyleMask:NSBorderlessWindowMask];
>[window setOpaque:YES];
>
>NSDrawNinePartImage([[window contentView]frame], 

You should be drawing from drawRect:, not awakeFromNib.

<http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/
CocoaDrawingGuide/Introduction/Introduction.html>

Also, IIRC, you can only make a window borderless at init time.

Are you trying to make a custom window?  Google must have examples of that...

Sean

-- 
"How much harm does a company have to do before we question its right to
exist?" — Paul Hawken
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to