Jump to content
Sign in to follow this  
arminius

how to not have the GUI window appear in taskbar

Recommended Posts

arminius

ok I'm creating a gui that I want to creat a button in to float overtop a firefox window, but when I have firefox highligted the gui window vanishes under it, that's not what I'm wanting to do, can anyone advice me on how to keep the gui window always at the top, and after that is it possible to have it not show up on the task bar?

here is the coding so far

CODE
#include <GUIConstants.au3>

GUICreate("", 60, 23, 8, 370)

$Button_1 = GUICtrlCreateButton ("Good", 0, 0)

$Button_2 = GUICtrlCreateButton ( "Bad", 33, 0)

GUISetState ()

While 1

$msg = GUIGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case $msg = $Button_1

ShellExecute("Good.au3", "", @ScriptDir, "Run")

Case $msg = $Button_2

ShellExecute("Bad.au3", "", @ScriptDir, "Run")

EndSelect

Wend

Share this post


Link to post
Share on other sites
crashdemons

If you use $WS_EX_TOOLWINDOW as an extended style, the window will not show up in the taskbar...

GUICreate("", 60, 23, 8, 370,-1,$WS_EX_TOOLWINDOW)

My Projects - WindowDarken (Darken except the active window) Yahsmosis Chat Client (Discontinued) StarShooter Game (Red alert! All hands to battlestations!) YMSG Protocol Support (Discontinued) Circular Keyboard and OSK example. (aka Iris KB) Target Screensaver Drive Toolbar Thingy Rollup Pro (Minimize-to-Titlebar & More!) 2D Launcher physics example Ascii Screenshot AutoIt3 Quine Example ("Is a Quine" is a Quine.) USB Lock (Another system keydrive - with a toast.)

Share this post


Link to post
Share on other sites
arminius

that's great mate, solves the 2nd problem, but is there also a way of keeping the GUI on top no matter how many other windows u highlight?

Share this post


Link to post
Share on other sites
arminius

ledgend :D worked prefectly

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  

×