开发者

How do I find the display size using Carbon

How do I adjust the height 开发者_开发百科and width returned by CGDisplayBounds by the menu bar height and the dock height (or width if it attached to the side)?

I need to do this using only Carbon calls.


Leaving aside that you really ought to be moving away from Carbon already…

Use the HIWindowGetAvailablePositioningBounds function.

If you need it to work in 64-bit, then you're just going to have to use Cocoa.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜