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

AtlWaitWithMessageLoop

 

Waits for the object to be signaled, meanwhile dispatching window messages as needed.

System_CAPS_importantImportant

This function cannot be used in applications that execute in the Windows Runtime.


      BOOL AtlWaitWithMessageLoop(
HANDLE hEvent 
);

hEvent

[in] The handle of the object to wait for.

Returns TRUE if the object has been signaled.

This is useful if you want to wait for an object's event to happen and be notified of it happening, but allow window messages to be dispatched while waiting.

Requirements

Header: atlbase.h

Show: