Mailing Lists: Apple Mailing Lists

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

Accommodating menu bar when making full-screen window?



Hi. I'm using

::CGDisplayPixelsHigh(::CGMainDisplayID());

to get the height of the main display, so that I can create a desktop group window of that height. But I'd like to shrink my window by the size of the menu bar, and I don't know the right way to get that distance.

Any suggestions? GetMBarHeight() might work, but it seems like there should be something in CG to do it "better".

Thanks!

--
Rick

_______________________________________________
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.