COleControl::OnClick

This method 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.

At a Glance

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

Syntax

virtual void OnClick( USHORT iButton );

See Also

COleControl::DoClick, COleControl::FireClick