Locating Backing Window Recent Documents Object

Ivan Timofeev timofeev.i.s at gmail.com
Fri Jul 6 03:45:36 PDT 2012


Hi Joel

On 05.07.2012 23:33, Joel Madero wrote:
> I didn't see the code that is actually determining the location of the
> click that brings up the open dialog vs. the recent documents dialog.
> Currently if you click on the arrow to the right of the vertical line
> next to open, a recent documents list comes up, but if you are to the
> right of the vertical line and click slightly off the arrow, the open
> dialog comes up. Intuitively the vertical line makes it seem like any
> click left of the line brings up the open, any push to the right should
> bring up recent documents and the arrow is just there for a nicer look.
>
> Any help locating the cxx file greatly appreciated as this has gotten
> under my skin a bit.

most probably it is vcl/source/control/menubtn.cxx, method 
MenuButton::MouseButtonDown

HTH,
Ivan


More information about the LibreOffice mailing list