Редагувати

Поділитися через


TB_SETDRAWTEXTFLAGS message

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

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h