After installing Word version 2405 on May 30, 2024, custom context menu items are not displayed
Hello.
Since the Word update to version 2405 on May 30, 2024, we have detected that the custom items in the Word context menu appear blank. We use VSTO with c# to interoperate with Word.
It seems that CommandBar.FindControl
does not find the control, returning a null
value. In versions before 2405, the return value was a CommandBarButton
.
To locate the CommandBarButton control we use:
CommandBarButton control = (CommandBarButton)commandBar.FindControl(Type: MsoControlType.msoControlButton, Id: this.missing, Tag: tag, Visible:true, Recursive: true);
Is it possible that there is a bug in that version?
Sample of how context menu is displayed: image.png
Thanks a lot!