Discuss this help topic in MsgConnect Forum

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



Messenger.WaitMessage

Messenger     See also    


Waits until there are incoming messages in the input queue.

Declaration

[C++]
    void WaitMessage();

[Pascal]
    procedure WaitMessage;

[VB6]
    Sub WaitMessage()

[ActiveX]
    HRESULT _stdcall WaitMessage( void );

[C#]
    public void WaitMessage();

[VB.NET]
    Public Sub WaitMessage()

[Java]
    public void waitMessage();

[Java ME]
    public synchronized void waitMessage();

[DLL]
    long __stdcall MCMessengerWaitMessage(HMCMessenger h);

Parameters

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

Return value

[DLL]
    MC_OK is always returned.

Description

    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    

Discuss this help topic in MsgConnect Forum