RomanK Posted August 8, 2008 Posted August 8, 2008 (edited) Hello Guys, I have been watching this forum for a few days now, and I learned so much! My Browser favourite toolbar has grown from one line to three!!! And now I need your help... and I'm sure some of you want to know this, too: How can I set a GUI as the bottom window, so that it allways lays under the other windows and kind of "sticks" to the desktop? But I have not found a function, an Au3 option or even a udf for this. I used google, the forum search and of course the help file - well, but I don't really know what to search for. I am working with the current version of AutoIt. Greets, Roman EDIT: Please don't post me explanation-less DLL-Things, I don#t understand that DLLs. Edited August 8, 2008 by RomanK [font="Courier New"]http://RomanK.hondadesigns.com[/font]
RomanK Posted August 8, 2008 Author Posted August 8, 2008 (edited) rasim said: This? No, I wasn't talking about magnifying to screen edges, but the window order. Let's say you have 3 windows open. When you click at one at the taskbar, it becomes the top window, and the other are "under" it. Back to AutoIt: To prevent the GUI from being "under" another window you can set WinSetOnTop("My Test GUI" , "", 1) But is there also a way to have it the bottom window, so that all others are on top / "over" it? But by the way, the code you linked to is very useful! :-D I will also be using that in my next project, but for that, I need to solve the problem first. Edited August 8, 2008 by RomanK [font="Courier New"]http://RomanK.hondadesigns.com[/font]
ProgAndy Posted August 8, 2008 Posted August 8, 2008 You can use this: #include <GUIConstants.au3> #include <WindowsConstants.au3> #include <WinAPI.au3> $Desktop = WinGetHandle("[CLASS:Progman]") #region - GUI Create $GUI = GUICreate('Stuck on desktop') _WinAPI_SetParent($GUI,$Desktop) GUISetState() #endregion #region - GUI SelectLoop While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd #endregionbut then, it is NOT shown in the Taskbar. *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
RomanK Posted August 8, 2008 Author Posted August 8, 2008 ProgAndy said: You can use this: #include <GUIConstants.au3> #include <WindowsConstants.au3> #include <WinAPI.au3> $Desktop = WinGetHandle("[CLASS:Progman]") #region - GUI Create $GUI = GUICreate('Stuck on desktop') _WinAPI_SetParent($GUI,$Desktop) GUISetState() #endregion #region - GUI SelectLoop While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd #endregionbut then, it is NOT shown in the Taskbar. Dankeschön!!!!!!!!! Ganz ganz ganz dickes Dankeschön Andy! :P [font="Courier New"]http://RomanK.hondadesigns.com[/font]
RomanK Posted August 9, 2008 Author Posted August 9, 2008 sensalim said: That works, but why do you need this?Sorry, top secret by now. I'd really like to tell you, but I don't want some idiot to copy my idea before I have even finished or published my program.But I can tell you that it will improve Windows' usability quite a lot so that you can do things faster and easier with less clicks. [font="Courier New"]http://RomanK.hondadesigns.com[/font]
rasim Posted August 9, 2008 Posted August 9, 2008 RomanK said: Sorry, top secret by now. I'd really like to tell you, but I don't want some idiot to copy my idea before I have even finished or published my program.But I can tell you that it will improve Windows' usability quite a lot so that you can do things faster and easier with less clicks. Please don`t insult members!
RomanK Posted August 9, 2008 Author Posted August 9, 2008 rasim said: Please don`t insult members!I didn't mean any offence to sensalim, I didn't call him an idiot, he is surely not, but I thought of other guys who exist everywhere, also in this forum.Nevertheless, sorry, and it will not happen again. [font="Courier New"]http://RomanK.hondadesigns.com[/font]
dnix Posted August 13, 2009 Posted August 13, 2009 This is the caravelle guy...based on those posts I would normally guess he thinks little of everyone he talks to. But I will give him the benefit of the doubt and say English is probably not his first language, so his nuances might only have the appearance of offensiveness.
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