Re: IsWindowUnicode() is always true after RegisterClassW

2009-10-13 Thread Alexandre Julliard
Nikolay Sivov writes: > 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? I expe

Re: IsWindowUnicode() is always true after RegisterClassW

2009-10-12 Thread Dmitry Timoshkov
"Nikolay Sivov" wrote: 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? Subclassing a window may change that. There is a bunch of IsWindowUnicode() tests in dlls/user32/tests/win.c

Re: IsWindowUnicode() is always true after RegisterClassW

2009-10-12 Thread Nikolay Sivov
Alexandre Julliard wrote: Nikolay Sivov 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 h

Re: IsWindowUnicode() is always true after RegisterClassW

2009-10-12 Thread Alexandre Julliard
Nikolay Sivov 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

IsWindowUnicode() is always true after RegisterClassW

2009-10-12 Thread Nikolay Sivov
Is it ok that IsWindowUnicode() returns 1 for windows created with -A calls? I've just another unrelated issue for Comboex and spotted then I'm apparently using unicode window (as reported by this call). But it was created with --- CreateWindowExA and class WC_COMBOBOXEXA --- Currently comboex