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 an up / down arrow glyph (SFT_PICTURE_UPDOWN) or a sort-direction indicator (SFT_PICTURE_UPDOWNSORT) in a SFT_PICTURE.
C
void Sft_SetPictureUpDown (LPSFT_PICTURE lpPicture, BOOL fUp, int w, int h, BOOL fEnabled); void Sft_SetPictureUpDownSort(LPSFT_PICTURE lpPicture, BOOL fUp, int w, int h, BOOL fEnabled);
lpPicture
Pointer to a SFT_PICTURE. Must not be NULL.
fUp
TRUE for up arrow / ascending, FALSE for down arrow / descending.
w, h
Width and height of the glyph in pixels. h must be greater than zero - calling with h <= 0 clears the slot but does not assign a glyph.
fEnabled
TRUE for enabled appearance, FALSE for disabled (grayed) appearance. Sft_SetPictureUpDownSort accepts the parameter for signature parity with the other glyph setters but ignores it visually - sort indicators do not have a disabled state.
Both setters call Sft_ClearPicture internally before assigning the new glyph.
Sft_SetPictureUpDown produces a generic up / down arrow useful for spinner controls and similar adjustable values. Sft_SetPictureUpDownSort produces a sort-direction triangle (typically thicker / smaller) used in column headers to indicate the active sort column and direction.
See Also SftPicture2 | SFT_PICTURE | SFT_PICTURE_UPDOWN | SFT_PICTURE_UPDOWNSORT | Sft_IsPictureUpDown
