DLL
To display text in a button cell
-
Call the SSSetTypeButton function and specify the text for the button using the Text parameter and the position of the text using the Style parameter.
If you are also displaying a picture in the button cell, the text alignment setting moves the text to whichever side of the picture you specify. For example, if you set the position of the text to be on the left, the button cell displays the text on the left and the picture on the right.
- Call the SSSetCellType or SSSetCellTypeRange function and set the CellType parameter to SS_TYPE_BUTTON.