arminius Posted April 4, 2008 Share Posted April 4, 2008 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 Link to comment Share on other sites More sharing options...
crashdemons Posted April 4, 2008 Share Posted April 4, 2008 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.) Link to comment Share on other sites More sharing options...
arminius Posted April 4, 2008 Author Share Posted April 4, 2008 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? Link to comment Share on other sites More sharing options...
Achilles Posted April 4, 2008 Share Posted April 4, 2008 WinSetOnTop() My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
arminius Posted April 4, 2008 Author Share Posted April 4, 2008 ledgend worked prefectly Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now