Sign in to follow this  
Followers 0
Champak

Autohide taskbar solution

5 posts in this topic

VarSetCapacity(APPBARDATA, A_PtrSize=4 ? 36:48)Space::   NumPut(DllCall("Shell32\SHAppBarMessage", "UInt", 4 ; ABM_GETSTATE                                           , "Ptr", &APPBARDATA                                           , "Int") ? 2:1, APPBARDATA, A_PtrSize=4 ? 32:40) ; 2 - ABS_ALWAYSONTOP, 1 - ABS_AUTOHIDE , DllCall("Shell32\SHAppBarMessage", "UInt", 10 ; ABM_SETSTATE                                    , "Ptr", &APPBARDATA)   KeyWait, % A_ThisHotkey   Return
This is a code from autohotkey that will autohide the taskbar and give you the taskbar space to use for your app. Can someone show me how to translate it please who has experience with this app? And then put it back to always show.

Share this post


Link to post
Share on other sites



dont know what that does, but i use winsetstate. 

WinSetState("[CLASS:Shell_TrayWnd]", "", @SW_HIDE)

tooltip("taskbar is hidden for 5 seconds" , 0 , 0)

sleep (5000)

WinSetState("[CLASS:Shell_TrayWnd]", "", @SW_SHOW)

exit

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

Thanks, but I came across that before, when I use that and open a dialog from my GUI its like the taskbar is there but invisible because my dialog won't occupy the space where the taskbar is usually filling. I don't know if the thing I want translated will fix the problem, but its the only thing left to try.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

gui has a height of 21 and a y of (@desktopheight - 21) to occupy the space taskbar leaves 

Edited by boththose

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

What about this here?: 

 

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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