开发者

AIR: considering the MacOSX menubar?

开发者 https://www.devze.com 2022-12-16 18:59 出处:网络
i wonder how i can set the screenBounds of my App to regard the MacOSX Menubar on top of the screen and the Dock.

i wonder how i can set the screenBounds of my App to regard the MacOSX Menubar on top of the screen and the Dock.

If i'm using the normal screenBounds method in AS3, the screenBounds values always get the REAL screenBounds (0,0 and total width of the screen)...however i would like to just get the available space on the desktop (minus dock, menubar or tas开发者_如何学运维kbar on windows)???

How can i do this?


Screen.visibleBounds claims to take menus and docks into account.

0

精彩评论

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