I solve my problem by creating and displaying a form as UI. It is unable to be attached to the Word interface as the panels, but it works.
Here is the code:
Here is the code:
string guid = Guid.NewGuid().ToString(); string wordApplicationCaption = _wordApplication.Caption; int wordHwnd = 0; try { _wordApplication.Caption = guid; wordHwnd = FindWindow("OpusApp", _wordApplication.ActiveDocument.Name + " - " + guid); } finally { _wordApplication.Caption = wordApplicationCaption; } NativeWindow wordWindow = new NativeWindow(); wordWindow.AssignHandle(new IntPtr(wordHwnd)); _olderOfficePanelForm = new OlderOfficePaneForm(); _olderOfficePanelForm.Text = _panelTitle; _olderOfficePanelForm.Show(wordWindow);