TB_SETDRAWTEXTFLAGS message
Applies to: desktop apps only
Sets the text drawing flags for the toolbar.
Parameters
- wParam
-
One or more of the DT_ flags, specified in DrawText, that indicate which bits in lParam will be used when drawing the text.
- lParam
-
One or more of the DT_ flags, specified in DrawText, that indicate how the button text will be drawn. This value will be passed to the DrawText function when the button text is drawn.
Return value
Returns the previous text drawing flags.
Remarks
The wParam parameter allows you to specify which flags will be used when drawing the text, even if these flags are turned off. For example, if you do not want the DT_CENTER flag used when drawing text, you would add the DT_CENTER flag to wParam and not specify the DT_CENTER flag in lParam. This prevents the control from passing the DT_CENTER flag to the DrawText function.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
Send comments about this topic to Microsoft
Build date: 3/6/2012
http://msdn.microsoft.com/en-us/library/dd162498%28VS.85%29.aspx
- 4/26/2010
- Michel Gerritse