佚名通过本文主要向大家介绍了vts i4,mscomctl.ocx,comdlg32.ocx,ocx控件安装,ocx等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 如何知道ocx中ON_EVENTCDlg, IDC_SKIN,/ 这里 /, OnClickSkin, VTS_I4的ID
描述:
解决方案1:
描述:
我在用ActiveSkin换肤控件ActiveSkin.ocx
它自己实现的消息泵
BEGIN_EVENTSINK_MAP(CDlg, CDialog)
//{{AFX_EVENTSINK_MAP(CDlg)
ON_EVENT(CDlg, IDC_SKIN, 20 /* 我要知道这里的ID列表 */, OnClickSkin, VTS_I4)
//}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()
请问我如何才能知道到底有哪些ID,还有最后的参数应该是什么?
谢谢
解决方案1:
OLEView
解决方案2: usually the interface with the default and/or source attribute in the server's .idl file). The .idl file can be seen by viewing the typelib in the OLE/COM Object Viewer.
看控件的文档,或者用OLEView看控件的类型库