Share via


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 
);

Parameters

  • 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.

Remarks

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

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart