zenOnExit |
Develop ActiveX elements -> Example: LatchedSwitch -> The methods -> zenOnExit |
Show all Hide all |
This method releases the dispatch driver.
BOOL CLatchedSwitchCtrl::zenOnExit()
{
m_dElement.ReleaseDispatch();
m_dSwitchVar.ReleaseDispatch();
m_dLatchVar.ReleaseDispatch();
return TRUE;
}