11-15-2022, 07:08 PM
Ah, maybe it has something to do with the configuration. It seems to be that = sign is something Windows throws in. Also "?" marks and a few other symbols with different values, but we are actually not seeing the UNICODE character here. It's a red herring.
Watch the title bar change to ?Foo to =Foo at 159.
Pete
Code: (Select All)
DECLARE DYNAMIC LIBRARY "user32"
FUNCTION SetWindowTextW (BYVAL Handle AS _OFFSET, title$)
END DECLARE
_CONTROLCHR OFF
DO
j = j + 1
i% = _MAPUNICODE(126 + j)
t$ = MKI$(i%)
PRINT 126 + j, i%, MID$(t$, 1, 1), t$
_DELAY .1
title$ = CHR$(64 + j) + CHR$(34) + "F" + CHR$(0) + "o" + CHR$(0) + "o"
result = SetWindowTextW(_WINDOWHANDLE, title$)
SLEEP
LOOP
Watch the title bar change to ?Foo to =Foo at 159.
Pete