jhav1594
asked on
writing methods in OCX/ ActiveX control
Hi,
Is it possible to write "Get / Set methods" in OCX control using VC++ (with or without using the Class Wizard).
The reason i am asking is that i have to write two methods
GetConfigurationSetName() and SetConfigurationSetName(LP CTSTR param1) but they have to have the same DISPID.
any ideas on how to get this done.
Is it possible to write "Get / Set methods" in OCX control using VC++ (with or without using the Class Wizard).
The reason i am asking is that i have to write two methods
GetConfigurationSetName() and SetConfigurationSetName(LP
any ideas on how to get this done.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
for eg, when i want to write a property, there is a "Get/Set" option available but when i use the Class Wizard to add a method. the "Get/Set" option is not available.
How do i make the "get/set" option available for methods so that the "Get method" and "Set method" have the same DISPID.