Sign in to follow this  
Followers 0
torels

set $WS_POPUP to window

8 posts in this topic

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

Share this post


Link to post
Share on other sites



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)

Share this post


Link to post
Share on other sites

really ?

I didn't know that... :P


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

Share this post


Link to post
Share on other sites

really ?

I didn't know that... :P

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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... :P

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0