0

I can`t find any info about: how to get the dock size/rect? Also How to get the menu bar size/rect? (and all it sub-parties as status menu rect, application menu rect, etc.)

AeroSun
  • 2,401
  • 2
  • 23
  • 46
  • There are several similar questions on SO regarding this. For example, you can check [How to Get Mac Desktop size](http://stackoverflow.com/questions/4489290/how-to-get-mac-desktop-size). – VolenD Apr 16 '15 at 20:10
  • user3584460, thx! Your link partially helps me. But I don't found how to receive the pairs of the menu bar, such as status menu rect or application part menu rect. Can you suggest where I could read about it? – AeroSun Apr 19 '15 at 21:15
  • A bit late, but - you can get the the position of status menu as described [here](http://stackoverflow.com/questions/5413784/how-to-get-frame-for-nsstatusitem). As to the application part of the status bar, I do not think this is possible. – VolenD Apr 26 '15 at 12:24
  • Thx! I will try. Its bad that there are no API for get the application part ((( So I will make sreenshot and will try to detect it by myself. – AeroSun Apr 27 '15 at 11:33

0 Answers0