Fixes WinCE ComboBox styles

git-svn-id: trunk@25868 -
This commit is contained in:
sekelsenmat 2010-06-03 17:16:21 +00:00
parent 98c6019a1f
commit ee1218030f

View File

@ -640,8 +640,10 @@ begin
// customization of Params
with Params do
begin
// remove unsupported styles
Flags := Flags and not (CBS_SIMPLE or CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE);
// Flags := Flags and not (CBS_SIMPLE or CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE);
// The following styles are suposed to be unsupported:
// CBS_SIMPLE or CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE
// But they work anyway, at least on the WM 6 Emulator
pClassName := @ComboboxClsName;
SubClassWndProc := @ComboBoxWindowProc;
end;