Jump to content

to get the correct height from taskbar


 Share

Recommended Posts

I want to place a window above the taskbar. But I don't know the height from Taskbar.

So I try first:

$pos = WinGetPos ( "Program Manager" ) -> and get width=1024 and height=768.

"AutoIt Window Info" shows me "Control Under Mouse" for Program Manager -> width=1024 and height=715 so the height from taskbar must be 53.

My second try:

$pos = ControlGetPos ( 'classname=Shell_TrayWnd', '', 'ToolbarWindow322' ) -> height=47 so the height from taskbar must be 47.

The true is:

If I choose '@DesktopHeight - 81' the window will be place directly over the taskbar.

How can I get the correct height from taskbar?

Link to comment
Share on other sites

Don't forget to search the forums :D

@syberschmo,

thanks for helping - that's what I want.

You can be sure that I first search the forums because of my bad english. It's not easy for me ...

The problem is how to search (which keywords to choose) :wacko:)

Briegel

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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