生成了一个DataGrid对象(ClassWizard生成的C++包装类对象),
我试过以CCmdTarget为基类的的GetIDispatch函数 但
却出错,我用过EnableAutomation和GetIDispatch,却什么也没得到.