Jump to content

Recommended Posts

Posted

MrOrangeFFM

If you want to getting exactly a tray height, then this be a right method:

#include <WinAPI.au3>

$hParent = _WinAPI_FindWindow("Shell_TrayWnd", "")
$hChild = ControlGetHandle($hParent, "", "TrayNotifyWnd")
$hToolBar = ControlGetHandle($hChild, "", "ToolbarWindow321")

$height = _WinAPI_GetWindowHeight($hToolBar)

MsgBox(0, "tray size", "Tray height is: " & $height)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...