From d92463c88a557eea7a439def39659b1409772583 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 13 Feb 2020 07:38:54 +0100 Subject: tdf#130325 Fix listbox used as dropdown In this case, the listbox is not used as a static widget, also not as a combobox with dropdown. Instead the listbox is placed in a popup to choose values from. Need to handle this case similiar to the combobox dropdown (Cursor movement only travels through items, Return selects one item). Regression from 7de9417d5f65d35227c7f80f6d587c2a56bde4e0 Change-Id: Idadc3da5847e12e1408203b13ab59eb53fe14eea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88581 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- include/tools/wintypes.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx index 56b2e27c9362..1f981e3e351c 100644 --- a/include/tools/wintypes.hxx +++ b/include/tools/wintypes.hxx @@ -204,6 +204,8 @@ WinBits const WB_IGNORETAB = 0x20000000; // Window-Bits for ListBox and MultiListBox WinBits const WB_SIMPLEMODE = 0x20000000; +// Special case where the listbox is used as a dropdown popup (not a combobox) +WinBits const WB_LISTBOX_POPUP = 0x40000000; // Window-Bits for FixedBitmap WinBits const WB_SCALE = 0x08000000; -- cgit