path: root/vcl/inc/salwtype.hxx
diff options
authorJuergen Funk <>2015-12-14 22:42:25 +0100
committerNoel Grandin <>2015-12-16 12:20:12 +0000
commit04f7270236ddac1d02187d5a8c24ed70000c73a5 (patch)
treea50544c8c6feb6287ad8880c3f3083f2d033d7ce /vcl/inc/salwtype.hxx
parent3b31d0dc86d75f8283951f3fd6a4f48ff649ed99 (diff)
tdf#96119 Cannot select item with mouse in any combobox / drop down menu
this commit has make the problem, the removing of the SALEVENT_MOUSEACTIVATE commit dd351dd728687cffe432ce0ec9367ceb80e097fb Author: Noel Grandin <> Date: Tue Nov 24 08:50:39 2015 +0200 loplugin:unusedfields in vcl/ and remove the unused SALEVENT_MOUSEACTIVATE stuff Without of there, when click in the opened list-box it send first the "PreNotify" with "MouseNotifyEvent::LOSEFOCUS" and that close the listbox. After that, it send the mouse-event to a closed window, that is the reason why the Listbox not get the mouse-click. With this patch, first send the mouse-click and then the "PreNotify" Change-Id: I5a09b1524335434f043d22bc71f7e38559fb1c0b Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <> Reviewed-on: Tested-by: Noel Grandin <>
Diffstat (limited to 'vcl/inc/salwtype.hxx')
1 files changed, 8 insertions, 1 deletions
diff --git a/vcl/inc/salwtype.hxx b/vcl/inc/salwtype.hxx
index da5126c43d38..222c8c85a54a 100644
--- a/vcl/inc/salwtype.hxx
+++ b/vcl/inc/salwtype.hxx
@@ -53,7 +53,7 @@ enum class InputContextFlags;
#define SALEVENT_FONTCHANGED ((sal_uInt16)18)
#define SALEVENT_WHEELMOUSE ((sal_uInt16)21)
#define SALEVENT_USEREVENT ((sal_uInt16)22)
-// unused
+#define SALEVENT_MOUSEACTIVATE ((sal_uInt16)23)
#define SALEVENT_EXTTEXTINPUT ((sal_uInt16)24)
#define SALEVENT_ENDEXTTEXTINPUT ((sal_uInt16)25)
#define SALEVENT_EXTTEXTINPUTPOS ((sal_uInt16)26)
@@ -161,6 +161,13 @@ struct SalWheelMouseEvent
+struct SalMouseActivateEvent
+ long mnX; // X-Position (Pixel, TopLeft-Output)
+ long mnY; // Y-Position (Pixel, TopLeft-Output)
struct SalExtTextInputEvent