CWnd::OnCommand

This member function is called by the framework when the user selects an item from a menu, when a child control sends a notification message, or when an accelerator keystroke is translated.

Syntax

virtual BOOL OnCommand( WPARAM wParam, LPARAM lParam );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CCmdTarget::OnCmdMsg