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.
kcapApp
Last Revision: | Version 1.0, 2003-01-30 Demonstrates drawing the key caps, given a set of modifiers and KCHR and KCAP resource IDs. |
Build Requirements: | |
Runtime Requirements: | Carbon |
The DrawKeyCaps function draws the key caps, given a set of modifiers (in the high byte of the modifier short parameter) and KCHR and KCAP resource IDs, using the current pen in the current GrafPort. If keyCodesFlag is true, the virtual keycodes for the KCAP are drawn (in 9 point) instead of the labels. Requirements: Keywords: KCHR, KCAP, key caps
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-30