Jump to content
Sign in to follow this  
bf2forlife

WinSetTitle just turns title to 0?

Recommended Posts

bf2forlife

WinSetTitle ("asd", "", @SW_HIDE)

that code would just turn title "asd" to "0", without hiding it so is there any other way?

Share this post


Link to post
Share on other sites
SmOke_N

WinSetTitle ("asd", "", @SW_HIDE)

that code would just turn title "asd" to "0", without hiding it so is there any other way?

Why in the world are you using @SW_HIDE to change the title? @SW_HIDE has an integer value of zero, thus your title will be zero. It only does what you tell it to lol...

Edit:

Perhaps you are looking for: WinSetState() ?

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
bf2forlife

Someone said that it would hide the window -.- but anyways how to hide it then?

Share this post


Link to post
Share on other sites
SmOke_N

Someone said that it would hide the window -.- but anyways how to hide it then?

Read my edit... and I'm quite sure, anyone with half a brain would read the function: WinSetTitle and know that it has nothing to do with hiding anything. Then I would imagine, those people would then look in the help file under Win and look for what would actually be that which would do what they wanted.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.