AnsweredAssumed Answered

How to use the GenericWindow co-class?

Question asked by huangs3 on Jun 15, 2012
Latest reply on Jun 25, 2012 by huangs3
Hi Everybody:

    I am testing around the ArcObjects 10 ESRI.ArcGIS.*UI interfaces and see what kind of out-of-box dialog boxes and windows are available to me.

    I am guessing that the GenericWindow co-class should popup a window for me

    However, I haven't been able to find a way to use it. I tried the following code and debuged it:
     IGenericWindow x = new GenericWindowClass();
     x.Application = _mApplication;
} catch (Exception ex)

an exception is throwned at "x.Show(true)": Error HRESULT E_FAIL has been returned from a call to a COM component.

I also searched around the namespace including the Object Model diagram, but didn't find any *Factory class to generate an instance of it.

How shall I use this co-class? and any clue how I can figure the similar information?

Thank you!