Sign in to follow this  
Followers 0
E1M1

help with _WinAPI_SetWindowText

3 posts in this topic

#1 ·  Posted (edited)

#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



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

@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  
Followers 0