COleControl::OnClick

This member function is called by the framework when a mouse button is clicked (or the stylus is tapped on a touch screen), to fire the stock Click event.

Syntax

virtual void OnClick( USHORT iButton );

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleControl Overview, COleControl Member Functions, Control Classes, COleControl::DoClick, COleControl::FireClick