docs

Home All DLL Functions Using the Template

CDDimWindow

Dim a parent window using the standard black overlay.

Clarion declaration

CDDimWindow(LONG,LONG),SIGNED,PROC,PASCAL,RAW,NAME('CDDimWindow')

Parameters: Parent window handle; strength from 0 to 255.

Example

DimResult = CDDimWindow(0{PROP:Handle},90)

Pair a successful Dim with CDRestoreWindow after the synchronous call, or use the START child helpers for a started procedure.

For manual dim and restore calls, a positive result normally indicates an accepted state; 0 or a negative status should be checked before relying on the effect. The global template supplies the MAP and LIB linkage automatically.

See Manual Dimming, START Procedures, and Troubleshooting.

All DLL Functions Home