vs2017 development of ActiveX (Speaker OCX) (xi), Class Wizard to add a method MFC ActiveX, add function, add a variable, add an event, add attributes, add the method of difference

Creative Commons License Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )

In this paper we are concerned that Class Wizard MFC ActiveX add method, add a function, add a variable, add an event, add attributes, add the difference method. This problem had bothered me.
APP
Here is added to CCreateOcxDemoApp class member variables and member functions can only be used in this class:
demo
crtl
here is to add a member function to CCreateOcxDemoCtrl, the member variables, events, limited to such use.
democtrl
page
Here is added to CCreateOcxDemoPropPage class member functions, member variables, use this class only:
demopage
libmethodadd here are methods and properties, and methods of the interface method is equivalent to adding the variable for external calls.

libevent
Here to add methods and properties, the equivalent event interface, and event variables for external calls.

Guess you like

Origin blog.csdn.net/y601500359/article/details/92984268