toggling boarderless panels?
toggling boarderless panels?
- Subject: toggling boarderless panels?
- From: Andrei Tapolow <email@hidden>
- Date: Fri, 16 Jul 2004 02:59:37 -0700
'lo
I've set up a subclass of NSPanel that does the following:
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned
int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag
{
result = [super initWithContentRect:contentRect
styleMask:NSBorderlessWindowMask
backing:bufferingType
defer:flag];
return result;
}
Now the question is: How can I toggle between boarder-less and
bordered. I can do a [myWin styleMask] to see the styleMask set on it.
Is it possible? And if not, how can I simulate the process of a window
going between borderless and bordered (with titlebar and resize)?
Do I need to set up two windows and basically hide one and show the
other? How can I sync the views between?
Thanks!
-Andrei
[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.