Hey, what am I doing wrong here:
It sets it fine, and returns that it is using 7 characters when it reads it back, but I can't get them to process it. It just returns 0000000 when I take away the chr conversion.
Any clues?
Local hwnd% = SystemProperty("AppHWND") api_SetWindowText(hwnd,"BOBsasd") Local bank% Local caption_length% Local i% Local Dave$ = "" bank = CreateBank(254) caption_length = api_GetWindowText(hwnd,bank,254) For i = 0 To caption_length Dave = Dave + Chr((PeekByte(bank,i))) Next FreeBank bank Print Dave$
It sets it fine, and returns that it is using 7 characters when it reads it back, but I can't get them to process it. It just returns 0000000 when I take away the chr conversion.
Any clues?