SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Selects whether the caller-supplied error images are scaled for the current monitor DPI.
C
void SftMask_SetImageScaling(HWND hwndCtl, int mode);
C++
void CSftMask::SetImageScaling(int mode);
hwndCtl
The window handle of the masked edit control.
mode
The image scaling setting. One of the following values:
| SFTMASK_IMAGESCALING_ASIS | The error images (ImageInvalid, ImageEmpty, ImageRequired) are drawn at their native pixel size. This is the default (preserves the behavior of earlier SftMask/DLL versions). |
| SFTMASK_IMAGESCALING_STRETCH | The error images are scaled by currentDPI / 96 at draw time. |
The image scaling setting can also be set through the imageScaling field of the SFTMASK_CONTROL structure. See Per-Monitor DPI and Scaling.
See Also GetImageScaling | SetPixelScaling | GetDPI | Per-Monitor DPI and Scaling
