Jump to content
Sign in to follow this  
E1M1

help with _WinAPI_SetWindowText

Recommended Posts

E1M1

#Include <WinAPI.au3>
_WinAPI_SetWindowText("C:\WINDOWS\system32\cmd.exe", "test")

Why this dont work?

I just want learn some winapi funcs.

When I see windows text it is still Text:

Edited by E1M1

edited

Share this post


Link to post
Share on other sites
werter

i dont know about api etc

but wi would do it this way:

WinSetTitle("Old Title","","NEw")

Share this post


Link to post
Share on other sites
Authenticity

@E1M1, read carefully the parameter types and the remarks before calling or preforming anything you don't know. This function is excepting the handle of the window/control whose title is to be changed.

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.