开发者

How to detect whether a control is standard or active-x control?

开发者 https://www.devze.com 2022-12-25 03:02 出处:网络
In MFC Application, how can we differen开发者_如何学JAVAtiate whether a control is a standard control like CComboBoxor it is an custom active-x control?You can use CWnd::GetControlUnknown:

In MFC Application, how can we differen开发者_如何学JAVAtiate whether a control is a standard control like CComboBox or it is an custom active-x control?


You can use CWnd::GetControlUnknown:

Return Value

A pointer to the IUnknown interface of the OLE control represented by this CWnd object. If this object does not represent an OLE control, the return value is NULL.

0

精彩评论

暂无评论...
验证码 换一张
取 消