Function WinSetName

Hello! the 'WinSetName' function returns error # 1. What does this mean?

Parents
  • I had similar results in Citect 2018 R2 with the Example project. Calling WinSetName("test") from the kernel returns 12032. The window number is 1, and calling WinSetName("test", 1") returns 1 the first time, then returns 0 the 2nd time I call it. However, calling WinGetName() returns "" and WinGetName(1) returns "Main", so the set name function isn't working, even when it returns 0. What version/update of Citect are you using?
Reply
  • I had similar results in Citect 2018 R2 with the Example project. Calling WinSetName("test") from the kernel returns 12032. The window number is 1, and calling WinSetName("test", 1") returns 1 the first time, then returns 0 the 2nd time I call it. However, calling WinGetName() returns "" and WinGetName(1) returns "Main", so the set name function isn't working, even when it returns 0. What version/update of Citect are you using?
Children
No Data