TB_SETDRAWTEXTFLAGS (Windows Embedded CE 6.0)
1/6/2010
This message sets the text drawing flags for the toolbar.
Syntax
TB_SETDRAWTEXTFLAGS wParam = (WPARAM)(DWORD) dwMask;
lParam = (LPARAM)(DWORD) dwDTFlags;
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 Value
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.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |