请问App.WaitForEvents 和App. EndWaitForEvents 的具体用法,最好能有例子

解决方案 »

  1.   

    msdn:This method places an application in a suspended state until an event occurs.app.WaitForEvents
    Parameters
    app 
    Reference to the App object. 
    Return Value
    None.Res
    This method is useful only when used in a code module. The WaitForEvents method stops execution of a code module until an event occurs. After the event executes, the code module continues waiting for more events unless the event calls the EndWaitForEvents method. Supported Platforms
    This method is supported on the following platforms. H/PC Pro Edition 3.0 
    P/PC Edition 1.2 
    Pocket PC 
      

  2.   

    Msdn上的太简单,问题我已经解决
      

  3.   

    请版主帮忙结贴evb没有小斑竹,给大斑竹发短信