HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

SFTMASK_PIXELSCALING Constants

Values for the pixelScaling field on SFTMASK_CONTROL and the SetPixelScaling function (see Per-Monitor DPI and Scaling).

SFTMASK_PIXELSCALING_ASIS (0)Caller-supplied pixel dimensions (captionnWidth) are used verbatim in physical screen pixels. Default (preserves the behavior of earlier SftMask/DLL versions).
SFTMASK_PIXELSCALING_STRETCH (1)Caller-supplied pixel dimensions are interpreted as 96-DPI reference values and scaled by currentDPI / 96 at use time. Storage and getters always return caller-reference units.

See Also Per-Monitor DPI and Scaling | SetPixelScaling | SFTMASK_IMAGESCALING Constants | SFTMASK_CONTROL


Last Updated 08/30/2026 - (email)
© 2026 Softel vdm, Inc.