Bernard85
Bernard85

Reputation: 1

Eclipse RCP when opening OLE (word) the main bar menu disappears. how to avoid it?

In Eclipse-RCP I open a Microsoft Word document using the following code:

oleClientSite = new OleClientSite(oleFrame, SWT.NONE, "Word.Document", file);
oleClientSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE);
oleAutomation = new OleAutomation(oleClientSite);

screen-shot showing MS Word opened and a File | Help menu

When the document is focused or edited, the menu (defined in Application.e4xmi) disappears (on the top/left) and I do not know why?
If I click on the treeView it appears again.
as suggested, I tried the snippet262 (stand-alone mode) : yes it's work fine for me
I use Eclipse 2023-03 and SWT 3.125.0.v20240227

Upvotes: 0

Views: 33

Answers (0)

Related Questions