IsWindowUnicode() is always true after RegisterClassW

Nikolay Sivov bunglehead at
Mon Oct 12 16:31:06 CDT 2009

Alexandre Julliard wrote:
> Nikolay Sivov <bunglehead at> writes:
>> The question is how could I handle CB_GETLBTEXT properly for ComboEx?
>> For Combobox it's obvious cause
>> we know is it unicode or not, for Comboex caller should rely on
>> IsWindowUnicode() for this control for buffer format or what?
>> Any thoughts how to deal with this or am I missing something?
> Standard messages like CB_GETLBTEXT should be translated automatically,
> you should be able to always handle them as Unicode.
Ah thanks, so whar<->char is done automatically depending on 
SendMessageA or SendMessageW used?

Next question if you don't mind: IsWindowUnicode() for Wine created 
common controls window handles
will always return TRUE, so I could easily drop such checks?

More information about the wine-devel mailing list