Index: basctl/source/basicide/baside2b.cxx =================================================================== --- basctl/source/basicide/baside2b.cxx (revision 1444482) +++ basctl/source/basicide/baside2b.cxx (working copy) @@ -383,7 +383,15 @@ ( rCEvt.GetCommand() == COMMAND_AUTOSCROLL ) ) { HandleScrollCommand( rCEvt, pModulWindow->GetHScrollBar(), &pModulWindow->GetEditVScrollBar() ); - } + } else if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU ) { + BasicIDEShell* pIDEShell = IDE_DLL()->GetShell(); + SfxViewFrame* pViewFrame = pIDEShell ? pIDEShell->GetViewFrame() : NULL; + SfxDispatcher* pDispatcher = pViewFrame ? pViewFrame->GetDispatcher() : NULL; + if ( pDispatcher ) + { + pDispatcher->ExecutePopup(); + } + } } }