EVENT_CUSTOM_ID
TRY
TOC
Collapse the table of content
Expand the table of content
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. ArchiveDisclaimer

EVENT_CUSTOM_ID

Defines an event firing function for a custom event belonging to the dispatch ID specified by dispid.

EVENT_CUSTOM_ID(pszName, dispid, pfnFire, vtsParams )

pszName

The name of the event.

dispid

The dispatch ID used by the control when firing the event.

pfnFire

The name of the event firing function.

vtsParams

A variable list of parameters passed to the control container when the event is fired.

The vtsParams argument is a space-separated list of values from the VTS_ constants. One or more of these values separated by spaces, not commas, specifies the function's parameter list. For example:

VTS_COLOR VTS_FONT

specifies a list containing a 32-bit integer representing an RGB color value, followed by a pointer to the IFontDisp interface of an OLE font object.

For a list of the VTS_ constants, see EVENT_CUSTOM.

Header: afxctl.h

Show:
© 2016 Microsoft