GBM_SETTEXTPOSITION
Appearance
This message sets the text positioning relative to the bitmap.
Syntax
param1
[[USHORT]] [[usTextPos]] /* Text position. */
param2
[[ULONG]] [[ulReserved]] /* Reserved. */
Parameters
- usTextPos (USHORT)
- Text position.
- GB_TEXTBELOW: Position text below the bitmap.
- GB_TEXTABOVE: Position text above the bitmap.
- ulReserved (ULONG)
- Reserved.
Return Value
- rc (USHORT)
- Return codes indicating success or failure.
- TRUE: Success.
- FALSE: Failure or not recognized.
Remarks
The default text position is below the bitmap. If this graphic button has a null text string, then this message has no visual effect.