SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Store a layout placeholder of fixed dimensions in a SFT_PICTURE as a SFT_PICTURE_SIZEONLY slot. The slot reserves space but draws nothing.
C
void Sft_SetPictureSizeOnly(LPSFT_PICTURE lpPicture, int w, int h);lpPicture
Pointer to a SFT_PICTURE. Must not be NULL.
w, h
Width and height of the placeholder in pixels. h must be greater than zero - calling with h <= 0 clears the slot but does not assign a placeholder.
Sft_SetPictureSizeOnly calls Sft_ClearPicture internally before assigning the new placeholder.
Useful when an image is going to be supplied later (e.g. loaded asynchronously) and the layout needs to reserve the space, or when the slot must match a sibling control's size for visual alignment.
See Also SftPicture2 | SFT_PICTURE | SFT_PICTURE_SIZEONLY | Sft_IsPictureDimension
