|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Visual Studio 2005
Manages commands sent from a command source object to a user control.
When you host a user control in an MFC View,routes commands and update command UI messages to the user control to allow it to handle MFC commands (for example, frame menu items and toolbar buttons). By implementing , you give the user control a reference to the ICommandSource object.
Seefor an example of how to use ICommandTarget.
For more information on using Windows Forms, see.