HeaderPane
Main
Hide
Share Link
Print

GetPixelScaling

Returns the current pixel scaling setting (ASIS / STRETCH).

C

int SftMask_GetPixelScaling(HWND hwndCtl);

C++

int CSftMask::GetPixelScaling() const;

Parameters

hwndCtl

The window handle of the masked edit control.

Returns

The return value is SFTMASK_PIXELSCALING_ASIS or SFTMASK_PIXELSCALING_STRETCH.

See Also SetPixelScaling | Per-Monitor DPI and Scaling


Last Updated 09/26/2026 - (email)
© 2026 Softel vdm, Inc.