Share via


COleControl::OnGetControlInfo

Called by the framework when the control's container has requested information about the control.

virtual void OnGetControlInfo(
   LPCONTROLINFO pControlInfo 
);

Parameters

  • pControlInfo
    Pointer to a CONTROLINFO structure to be filled in.

Remarks

This information consists primarily of a description of the control's mnemonic keys. The default implementation fills pControlInfo with default information.

Override this function if your control needs to process mnemonic keys.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

Other Resources

COleControl Members