Example: GetScanDlgControlState

 

To find out the status of the document size drop-down list in the active Scan dialog box:

[GetScanDlgControlState(310)]

A sample reply:

VISIBLE, ACTIVE

The document size list is displayed, and it is not dimmed.