Announcement

Collapse
No announcement yet.

CONTROL SEND is not %UNICODE aware

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CONTROL SEND is not %UNICODE aware

    In PBWin10, CONTROL SEND is not aware if %UNICODE = 1, this resulting in clipped uncode characters if using it with for example WSTRINGZ and messages like %LB_ADDSTRING or %CB_ADDSTRING, and with messages like %CB_GETLBTEXT or %LB_GETTEXT the result becomes a bunch of chinese-looking characters.

    If %UNICODE = 1 is set and goal is to get/set text, use SendMessage instead, because then SendMessageW will be used with correct result. See also discussion and example at https://forum.powerbasic.com/forum/u...nce#post807955

Working...
X