Luffy Posted October 27, 2007 Share Posted October 27, 2007 (edited) Hi Forum, The situation is: I ve got some program that starts with windows and stays resident on desktop screen. If i taskswitch, i often have to over tap this program. Is it possible with AutoIT to remove it from that "taskswitchlist"? I've searched the forum but i found nothing with content i could use. Just to make sure: i never want to hide anything else but that. Please help, or i get crazy thx in advance! sry for double posting Edited October 27, 2007 by big_daddy Made topic title as little less conspicuous. Link to comment Share on other sites More sharing options...
Generator Posted October 27, 2007 Share Posted October 27, 2007 Is WinSetOnTop() what you want? Link to comment Share on other sites More sharing options...
Luffy Posted October 27, 2007 Author Share Posted October 27, 2007 Is WinSetOnTop() what you want?Sry, no. WinSetOnTop() would set "Always On Top" on that window.This is not what i want.To show what i mean:There's a clock named ClocX. This Clock shows up on desktop and stays there. You can click through make it transparent and many more.And there's an option "not to show up in Alt-Tab-List". This option i want to set in an other program that also stays on desktop but without this feature. Link to comment Share on other sites More sharing options...
GaryFrost Posted October 27, 2007 Share Posted October 27, 2007 (edited) If the author didn't give the option, then I would say your stuck with it the way it is. Edited October 27, 2007 by GaryFrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GaryFrost Posted October 27, 2007 Share Posted October 27, 2007 Try WinSetState if that doesn't work, then I don't know what you mean. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Siao Posted October 27, 2007 Share Posted October 27, 2007 (edited) There are two ways - set $WS_EX_TOOLWINDOW style or make it a child of some window (not a very good option if you're doing it on some external app). ClockX uses first method. You can toggle it like this... $get = DllCall("user32.dll", "long", "GetWindowLong", "hwnd", $hwnd, "int", -20) DllCall("user32.dll", "long", "SetWindowLong", "hwnd", $hwnd, "int", -20, "long", BitXOR($get[0],$WS_EX_TOOLWINDOW)) This style also changes appearance of the window's titlebar (which doesn't show on ClockX since it uses skin), but maybe you can live with that... Edited October 27, 2007 by Siao "be smart, drink your wine" Link to comment Share on other sites More sharing options...
Luffy Posted October 27, 2007 Author Share Posted October 27, 2007 (edited) Siao, you re the greatest ! 3 Lines of code and the problem is solved. thx man! This program 'BitMeter' is also skinned. So theres no titlebar too. Edited October 27, 2007 by Luffy 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