Before didn't join the ActiveX control, control interface is to be able to load in the ActiveX control pad, can open the web to see interface,
public:
Afx_msg void OnBnClickedButtonInit ();
Afx_msg void OnBnClickedButtonAlarm ();
Afx_msg void OnBnClickedButtonStop ();
CButton m_BUTTON_INIT;
CButton m_BUTTON_ALARM;
CButton m_BUTTON_STOP;
CComboBox m_COMB;
CMscomm1 m_MSCOMM;
Object is created, an object name m_MSCOMM,
Once joined a MSCOMM control, ActiveX control pad can't load the interface, is gray,
I want to ask next is my operation problems, or not to allow the ActiveX control package again?
CodePudding user response:
https://support.microsoft.com/en-us/help/218442/how-to-add-activex-controls-to-an-atl-composite-control-programmatically-in-visual-cCodePudding user response: