The WinSetName returns 1 (True) when successful.
Calling it on a non-existing window does return a value >1.
E.g :
WinsetName("MyWindow") will set the name (note not the title or anything, just a name-value pair).
if you then call WinNumber("MyWindow") it will retun the number of the window.
Same if you call WinGetName() in a cicode function it will return the set name.
The WinSetName returns 1 (True) when successful.
Calling it on a non-existing window does return a value >1.
E.g :
WinsetName("MyWindow") will set the name (note not the title or anything, just a name-value pair).
if you then call WinNumber("MyWindow") it will retun the number of the window.
Same if you call WinGetName() in a cicode function it will return the set name.