Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Mac OS X Project Builder 2.0.1 or higher

View Source Code:

Download Sample (“RoundTransparentWindow.zip”, 448.4K)
Download Sample (“RoundTransparentWindow.dmg”, 506.0K)



Description

This sample code shows how to use Cocoa to create custom-shaped windows and/or transparent window content. It also shows how to change the shape of the window on the fly, and instructs the system to recalculate the drop shadow around your custom window shape. Version 1.2 provides support for the new -invalidateShadow method introduced in Mac OS X 10.2. Requirements: Project Builder 2.0.1 or higher Keywords: Cocoa, Objective-C, RoundTransparentWindow, transparent, window

Document Revision History

Date Notes
2003-01-14Creating (in Cocoa) custom-shaped windows and transparent window content; plus changing the shape of windows dynamically.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.