1

I'm building my own mmc snap-in using C#, and it one of the actions causes ShowDialog.

The problem is that the show dialog doesn't block the mmc window, So i want to use ShowDialog(IWin32Window) but how can I get the window handle?

Thanks.

Dig
  • 3,850
  • 3
  • 27
  • 33

1 Answers1

0

I've found the solution.

I needed to use the SnapIn.Console.ShowDialog and not the ShowDialog function of the dialog itself.

Dig
  • 3,850
  • 3
  • 27
  • 33