Sign in to follow this  
Followers 0
Briegel

to get the correct height from taskbar

3 posts in this topic

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?

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0