View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Backslider Backslider is offline
external usenet poster
 
Posts: 6
Default Getting Window Owner in .NET

I'm programming Excel in .NET (using VSTO) and I want to pop up a
messagebox or form. How can I pass the Excel window as the owner
window in the first argument to the Show/ShowDialog method? It wants
an IWin32Window. How do I get that for the Excel application?

thanks
Backslider