The SetScanDlgControlState transaction changes the status of a setting in the displayed Scan dialog box. You can use it to customize the availability of scan settings.
This command is normally used after the File, Scan command is intercepted. The options set by this transaction are not saved. They are only valid as long as the Scan dialog box is displayed, and are lost after the dialog box is closed.
Type XTYP_EXECUTE
Syntax [SetScanDlgControlState(nParam, "status")
|
Parameter |
Data type |
Values |
Meaning |
|
nParam |
WORD |
option to define | |
|
status |
ACTIVE |
The setting's value can be changed | |
|
|
|
INACTIVE |
The setting is dimmed, so its value cannot be changed |
|
|
|
VISIBLE |
The setting is displayed |
|
|
|
INVISIBLE |
The setting is not displayed |
|
|
|
(can be concatenated) |
|
Remarks
The status values are case sensitive.
Release information
Added in Release 4.2x.
Published in Release 5.10.
See also