Combo box not showing full Unicode text when an item is selected

  • Thread starter Thread starter {DavidH}
  • Start date Start date
D

{DavidH}

Guest
Issue DescriptionWhen items in the ComboBox list contain non-English text (i.e. include characters that span multiple bytes), selecting those items results in the text being truncated in the selection field. This truncation also occurs when setting text in the ComboBox using the SetWindowTextA function. Here is a sample program that demonstrates this issue for your reference. Compile it as 32 bit (x86) mode. Upon further investigation and debugging into the assembly code, it appears that Windows is truncating the text before setting it in the Edit control. Once this truncated te

Continue reading...
 
Back
Top