Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
CustomWindowWidget
| Last Revision: | Version 1.0, 2003-01-30 Demonstrates two ways of adding a custom window widget to the window frame of a standard document window. |
| Build Requirements: | |
| Runtime Requirements: | Carbon Mac OS X |
This sample code demonstrates two ways of adding a custom window widget to the window frame of a standard document window: - on 10.1 and earlier, it overrides the kEventWindowDrawFrame, kEventWindowDrawPart, and kEventWindowHitTest events. - on 10.2 and later, it uses a custom HIView, which it inserts into the root view of the window. Requirements: Mac OS X Keywords: window, HIView, window frame, widget
© 2003 Apple Computer, Inc. All Rights Reserved. (Last updated: 2003-01-30)