IanN1990 Posted May 12, 2012 Posted May 12, 2012 (edited) I am going though my old code looking to improve and understand things First Question - I dont want every application on my system to be "Alt-Tabable". The following two styles accomplish this effect but with some slight negatives _WinAPI_SetWindowLong(WinGetHandle('[Class:Notepad]'), $GWL_Exstyle, 0x80) ;Removes Icon, Option to Min/Max and changes the close button. _WinAPI_SetWindowLong(WinGetHandle('[Class:Notepad]'), $GWL_Exstyle, 0x08000000) ;Changes nothing visually but when draggin the application it doesn't move until mouse is released. So does any different values that can make the application not alt-tabable Second Question - Lets say i set an application with one of the following code and i wanted to check it has applied how can i retreave it ? #include <Constants.au3> #include <WinAPI.au3> ConsoleWrite(_WinAPI_GetWindowLong('[CLASS:Notepad]', $GWL_EXSTYLE) ) Returns Number but its different from the 0x80 or 0x08 if i was to set ? Edited September 8, 2012 by IanN1990
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