CCmdTarget::EnableAutomation

This method enables Automation for an object. This method is typically called from the constructor of your object and should only be called if a dispatch map has been declared for the class.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

void EnableAutomation( );