다음을 통해 공유


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
    이벤트의 이름입니다.

  • 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. 예를 들면 다음과 같습니다.

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

참고 항목

참조

EVENT_CUSTOM

가변 매개 변수 형식 상수

개념

MFC 매크로 및 전역