Locating Backing Window Recent Documents Object
jmadero.dev at gmail.com
Fri Jul 6 08:54:22 PDT 2012
haha digging a ditch for myself ;) I think I now am following the logic of
MouseButtonDown but I'm still not seeing where it's being called (and where
rMEvt) is coming from. Basically where are the pixel ranges defined as
different actions (open vs. recent documents).
Here is a link to the bug (or enhancement depending on your opinion of it).
Thanks again for everyone's patience.
On Fri, Jul 6, 2012 at 8:42 AM, Michael Meeks <michael.meeks at suse.com>wrote:
> Hi Joel,
> On Fri, 2012-07-06 at 08:17 -0700, Joel Madero wrote:
> > Someone else suggested there also but I'm not seeing anything that
> > would differentiate Open vs. Recent Documents on the backingwindow.
> Having a link to the relevant bug / issue might be interesting :-)
> Ivan's link is good:
> MenuButton maOpenButton;
> maOpenButton.SetMenuMode( MENUBUTTON_MENUMODE_TIMED );
> maOpenButton.SetSelectHdl( LINK( this, BackingWindow, SelectHdl ) );
> maOpenButton.SetActivateHdl( LINK( this, BackingWindow, ActivateHdl )
> The code is in:
> vcl/source/control/menubtn.cxx, method MenuButton::MouseButtonDown
> I assume 'Select' vs. 'Activate' are the different modes:
> pop-down, or
> whatever here:
> IMPL_LINK( BackingWindow, ActivateHdl, Button*, pButton )
> if( pButton == &maOpenButton )
> return 0;
> Looks like the recent files list is not built until that is
> Does that help ? :-)
> And/or what's the root issue ?
> Thanks for digging !
> michael.meeks at suse.com <><, Pseudo Engineer, itinerant idiot
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice