Mailing Lists: Apple Mailing Lists

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

Re: Getting metric of metal window border




On Mar 30, 2005, at 8:25 PM, David A. Lyons wrote:

I've done this successfully in Finder by comparing:
    GetWindowBounds(kWindowStructureRgn)
with
    GetWindowBounds(kWindowGlobalPortRgn)

I don't believe I tried GetWindowStructureWidths, but I don't see any open bugs against it. -- What was wrong with the values you got back from GetWindowBounds?

*clears throat* Err... both methods are working here at home for me now. I'll have to figure out why it's not working in my code at work.


Thanks for the quick reply,
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
References: 
 >Getting metric of metal window border (From: Jonathan Johnson <email@hidden>)
 >Re: Getting metric of metal window border (From: "David A. Lyons" <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.