CEventFactory::CreateCommandQueryEvent

IEvent*CEventFactory::CreateCommandQueryEvent(UINTnID)

Create a command query event.

Defined in: EventFactory.h

Return Value

Pointer to generated event object or NULL if message is filtered out.

Parameters

nID

Command ID.

Comments

This function creates a  CCommandQueryEvent object, AddRefs it, and returns it to the caller.