Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::PSI::text::GetControlTextOffsetMinMax Function
C++
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. 

TRUE if a valid Text control was passed. 

FALSE otherwise. 

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.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!