EldoS
MsgConnect home / Documentation / Messenger.WaitMessage method
Navigation
Web site
Support
Table Of Contents

Filter: C++  Pascal  ActiveX  C#  VB.NET  Java SE  Java ME  Palm  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();

[Palm]
    void WaitMessage(void);

[DLL]
    long __stdcall MCMessengerWaitMessage(HMCMessenger h);

Parameters

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

Return value

[DLL]
    If the function was called not from the same thread in which Messenger operates, MCE_WRONGTHREAD code is returned, otherwise MC_OK is 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    

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation