Jump to content

Recommended Posts

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

Posted

@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.

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
×
×
  • Create New...