Re: Unicode issues with comboboxex



"Bonj" <a@xxxxx> wrote in message
news:eQo8WACWFHA.2420@xxxxxxxxxxxxxxxxxxxx
>> Since you specified CBS_OWNERDRAWFIXED you're expected to handle
>> WM_DRAWITEM and WM_MEASUREITEM messages. Are you doing that
>> correctly?
>
> Not WM_MEASUREITEM with CBS_OWNERDRAWFIXED - that's with
> CBS_OWNERDRAWVARIABLE surely?

WM_MEASUREITEM is still sent with CBS_OWNERDRAWFIXED, but only once.
Then the returned height is used for all items for the lifetime of the
control.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages