torels Posted October 14, 2008 Share Posted October 14, 2008 Hi there how di I set $WS_POPUP style to a window which is not a gui ?? thanks in advance Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
zorphnog Posted October 14, 2008 Share Posted October 14, 2008 What?! A window is a GUI regardless of whether you created it or not. Try this. #include <WindowsConstants.au3> $hMyWin = WinGetHandle("My window title") GUISetStyle($WS_POPUP, -1, $hMyWin) Link to comment Share on other sites More sharing options...
torels Posted October 14, 2008 Author Share Posted October 14, 2008 really ? I didn't know that... Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
torels Posted October 14, 2008 Author Share Posted October 14, 2008 really ?I didn't know that... I didn't know that... and it's not working XD Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
zorphnog Posted October 14, 2008 Share Posted October 14, 2008 Perhaps a little more info of what you're trying to do would help. Are you saying a window exists, but is not visible? Just a little confused as to what you mean by set a style on a window that is not a gui. Link to comment Share on other sites More sharing options...
Zedna Posted October 14, 2008 Share Posted October 14, 2008 (edited) #include <WindowsConstants.au3> #include <WinAPI.au3> Const $GWL_STYLE = -16 $hWnd = WinGetHandle('your title') $oldStyle = _WinAPI_GetWindowLong($hWnd, $GWL_STYLE) _WinAPI_SetWindowLong($hWnd, $GWL_STYLE, BitOR($oldStyle, $WS_POPUP)) Edited October 14, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
torels Posted October 14, 2008 Author Share Posted October 14, 2008 Nope Still not working... what I am trying to do is set to $WS_POPUP all the windows belonging to IMWindowClass Class (It's Windows Live Messenger's chat window) but I can't get it working... this is my code... #include <WindowsConstants.au3> #include <WinAPI.au3> Const $GWL_STYLE = -16 $class="[CLASS:IMWindowClass]" $hWnd = WinGetHandle($class) $oldStyle = _WinAPI_GetWindowLong($hWnd, $GWL_STYLE) _WinAPI_SetWindowLong($hWnd, $GWL_STYLE, BitOR($oldStyle, $WS_POPUP)) Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
Zedna Posted October 14, 2008 Share Posted October 14, 2008 Try to play with another styles - if it works with some of them.Also look here at another example using my method:http://www.autoitscript.com/forum/index.ph...st&p=390351 Resources UDF ResourcesEx UDF AutoIt Forum Search 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