CWnd::NotifyWinEvent
TOC
Collapse the table of content
Expand the table of content

CWnd::NotifyWinEvent

Signals the system that a predefined event occurred. If any client applications have registered a hook function for the event, the system calls the client's hook function.

void NotifyWinEvent(
   DWORD event,
   LONG idObjectType,
   LONG idObject
);

event

Specifies the event that occurred. This value must be one of the event constants.

idObjectType

Identifies the kind of object that generated the event. This value is one of the predefined object identifiers or a custom object ID value.

idObject

Identifies whether the event was generated by an object or a child element of the object. If this value is CHILDID_SELF, the event was generated by the object itself. If not, this value is the child ID of the element that generated the event.

This member function emulates the functionality of the function NotifyWinEvent, as described in the Windows SDK.

Header: afxwin.h

Community Additions

ADD
Show:
© 2016 Microsoft