Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 


Messenger     See also    

Waits until there are incoming messages in the input queue.


    void WaitMessage();

    procedure WaitMessage;

    Sub WaitMessage()

    HRESULT _stdcall WaitMessage( void );

    public void WaitMessage();

    Public Sub WaitMessage()

    public void waitMessage();

[Java ME]
    public synchronized void waitMessage();

    long __stdcall IPCMessengerWaitMessage(HIPCMessenger h);


  • h - handle to the Messenger object that was returned by Create method

Return value

    IPC_OK is always returned.


    Call this method to wait until there are messages in the input queue. This method doesn't return unless there is something in the input queue.

See also:     Queue class     PeekMessage     GetMessage     WaitMessageEx