This message sets the text drawing flags for the toolbar.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Syntax
Parameters
dwMask
A combination of one or more of the DT_* flags, specified in DrawText, that specifies which bits in dwDTFlags are used when drawing the text.
dwDTFlags
A combination of one or more of the DT_* flags, specified in DrawText, that specify how the button text will be drawn. This value is passed to DrawText when the button text is drawn.
Return Values
Returns the previous text drawing flags.
Remarks
The dwMask 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 dwMask and not specify the DT_CENTER flag in dwDTFlags. This prevents the control from passing the DT_CENTER flag to DrawText.