The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



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


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


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


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