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 )
Parameters
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.
Remarks
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.
Requirements
Header: afxctl.h