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.
Here is added to CCreateOcxDemoApp class member variables and member functions can only be used in this class:
here is to add a member function to CCreateOcxDemoCtrl, the member variables, events, limited to such use.
Here is added to CCreateOcxDemoPropPage class member functions, member variables, use this class only:
add here are methods and properties, and methods of the interface method is equivalent to adding the variable for external calls.
Here to add methods and properties, the equivalent event interface, and event variables for external calls.