EVENT_CUSTOM_ID

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

Use the EVENT_CUSTOM_ID macro to define an event firing function for a custom event belonging to the dispatch ID specified by dispid.

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 short integer followed by a BOOL.

For a list of the VTS_ constants, see EVENT_CUSTOM.

See Also   EVENT_CUSTOM