Height of the dock (MacOS)
BlitzMax Forums/BlitzMax Beginners Area/Height of the dock (MacOS)
| ||
Last one for today, about MacOS too : is there a way to get the height of the dock? Thank you! EDIT : getting its width and position would help too, I'm somewhat new to MacOS and I had forgotten the dock could be moved. |
| ||
Import maxgui.drivers Local dockheight:Int=GadgetHeight(Desktop())-ClientHeight(Desktop())-27 Print "DockHeight: "+dockheight This just works with MaxGUI, I am afraid. Haven't checked it in detail, but seems to work quite appropriate. If you just want to find out the height of your window, simply us ClientHeight(Desktop()) for the height-argument. |
| ||
Thank you! Now that MaxGUI is free I can take a look at it. |