Locating Backing Window Recent Documents Object

Ivan Timofeev timofeev.i.s at gmail.com
Fri Jul 6 08:33:37 PDT 2012

On 06.07.2012 19:17, Joel Madero wrote:
> Someone else suggested there also but I'm not seeing anything that would
> differentiate Open vs. Recent Documents on the backingwindow.

AFAIUI you are trying to extend the area, which is responsible for mouse 
clicks showing the menu. In this case the code you should modify is

   // if the separated dropdown symbol is hit,
   // execute the popup immediately
   if( ! ImplGetSymbolRect().IsInside( rMEvt.GetPosPixel() ) )

The comment explains the current logic.

Or maybe I did not understand you...?


More information about the LibreOffice mailing list