Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-30