Suspend Event


PLBCMP GUI Only, 9.4

 

The Suspend event is generated from the Windows WM_POWERBROADCAST event. When the WM_POWERBROADCAST event with a suspend or resume state is detected, a PLB 'Suspend' user event is generated if it has been registered for a WINDOW object.

Note the following:

  1. The Event Result value for the 'Suspend' event is set to one of the following values:

  2.  

    Value

    Meaning

    0x4

    System is suspending operation.

    0x7

    Operation resuming after suspension.

     

  3. These events are not available from the OS until the Windows resumes operations.

  4. This event helps in situations where a user program wants to detect when a program is restarting from a suspended state. A program may need to reinitialize connections in such situations.

  5. The Suspend event is referenced using an event value of thirty-two (32).

  6. This event is only used and generated when using PLB CE runtime.

 

 

See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions

 



PL/B Language Reference SelChange Event Timer Event