Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  Desktop Enhancements  |  Themes  |  Matrix  |  Title bar in desktop window??

Matrix

Matrix

Complete Finder replacement

Version:  1.0d10

   [ Views: 305 ]

Title bar in desktop window??

Feedback Type:  Usage Tip

Contributed by: SnakeO Wednesday, September 17 2003 @ 10:19 PM PDT

Product Platform: MacOSX

Used Product For: Have Not Tried

Why dont u get rid of that?

Cocoa code:

NSRect screenRect;

//get the main screens size and put it in a NSRect
screenRect = [[NSScreen mainScreen] frame];
screenRect.origin.y -= 25; //to compensate for menu bar

//re-init the main window to fill screen, borderless, and titlebar-less. Strip that *censored* down and take off the drop-shadow.
[mainWindow initWithContentRect:screenRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO];
[mainWindow setHasShadow:NO];

//set the new window's level (below the desktop icons)
[mainWindow setLevel:kCGDesktopWindowLevel];

Email me at SnakeO@comcast.net if u need any more hlp :)   

0 of 1 users found this helpful.

Rate this Usage Tip

Was this Usage Tip helpful? Yes | No

Comments

0 comments |

No user comments.