0

I'm working on a plugin dll for Revit. If I render the main window with .Show() the DataGrid lose it's function to be copied by pressing Ctrl+C. However if I use .ShowDialog() Ctrl+C works fine. I do not want the window to be modal and want to use .Show() method.

Do you have any idea how to correct Ctrl+C function with .Show() method? Thanks

Serhan BAKIR
  • 59
  • 1
  • 1
  • 7

1 Answers1

0

I believe that the key is to make your form a child of the Revit process.

See Jeremy's blog post here: http://thebuildingcoder.typepad.com/blog/2009/02/revit-window-handle-and-modeless-dialogues.html

Matt
  • 1,043
  • 5
  • 8