I wrote an Add-In for the VBE-Development enviroment like described here: How to write a Add-in for the development enviroment: "Microsoft Visual Basic for Applications"
In there I created a settingsDialog (which is a common Forms-dialog with some TextBoxes) which I open like this:
var dlg = new SettingsDlg(m_Settings);
dlg.StartPosition = FormStartPosition.CenterParent;
dlg.Show(new HwndWrapper(m_VBE.MainWindow.HWnd));
But inside SettingsDlg Copy&paste is not working. When I try to post text into a text box, nothing happens.