JVCL Help:TJvComputerInfoEx.OnPowerBroadcast

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when a power-management event has occurred


Pascal

 TJvPowerBroadcastEvent = procedure (Sender: TObject; Event, Data: Integer) ofobject;
propertyOnPowerBroadcast: TJvPowerBroadcastEvent;


Parameters

Parameters Description
Data Function-specific data. For most messages, this parameter is reserved and not used. For more information, see the on-line help for WM_POWERBROADCAST.
Event The event that was triggered. For more information, see the on-line help for WM_POWERBROADCAST.
Sender The object that triggered the event.


Description

Write a handler for this event to take specific actions when a power-management event has occurred. This event is triggered in response to a WM_POWER or a WM_POWERBROADCAST message. Note that the WM_POWER is provided or backward compatibility with 16-bit systems and should be relatively rare (or nonexistent) in 32-bit systems.


See Also

,


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page