Example: SetScanDlgControlState
To dim the drop-down list of document sizes in the active Scan dialog box:
[SetScanDlgControlState(310, "INACTIVE")]