Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting metric of metal window border



I can't for the life of me figure out how to determine the width of the implicit border for a metal window. It's roughly 3 pixels on each side, but I really don't want to handle this by hard coding in the value. GetWindowStructureWidths doesn't return the proper value, nor do any constants passed into GetWindowBounds/GetWindowRegion.

Any ideas on how to figure this width out?

Thanks in advance,
Jon


-- Jonathan Johnson REAL Software, Inc.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.