JVCL Help:TJvComputerInfoEx.OnSpoolerStatusChange

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

Search in JVCL Help

 
Search in all projects
 

Summary

The WM_SPOOLERSTATUS message is not supported after Windows XP. Occurs whenever a job is added to or removed from the Print Manager queue.


Pascal

 TJvSpoolerChangeEvent = procedure (Sender: TObject; JobStatus, JobsLeft: Integer) ofobject;
propertyOnSpoolerStatusChange: TJvSpoolerChangeEvent;


Parameters

Parameters Description
JobsLeft Number of jobs remaining.
JobStatus Specifies the PR_JOBSTATUS flag.
Sender The object that triggered the event.


Description

Write a handler for this event to take specific actions when print jobs are added or removed from the print queue. This event is triggered in response to a WM_SPOOLERSTATUS message. This event is advisory and does not have guaranteed delivery semantics. Applications should not assume that they will receive this event for every change in spooler status.


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