Sack Library Documentation
|
LOGICAL GetControlTextOffsetMinMax(PSI_CONTROL pc, int * min_offset, int * max_offset);
Parameters |
Description |
PSI_CONTROL pc |
A STATIC_TEXT_NAME control. |
int * min_offset |
pointer to an integer that is filled with the least amount that can be set for an offset before text is not shown. |
int * max_offset |
pointer to an integer that is filled with the most amount of offset that can be set before text is not shown. |
Get the minimum and maximum offsets that can be applied to a text control based on its justification attributes before the text will not be drawn in the control. This can be used to marquee the text in from the left with the first update showing text, until the last bit of text scrolls out at the end.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|