CToolBarCtrl::SetDrawTextFlags
Sets the flags in the Win32 function DrawText, which is used to draw the text in the specified rectangle, formatted according to how the flags are set.
DWORD SetDrawTextFlags(
DWORD dwMask,
DWORD dwDTFlags
);
Параметры
dwMask
A combination of one or more of the DT_ flags, specified in the Win32 function DrawText, that indicates which bits in dwDTFlags will be used when drawing the text.dwDTFlags
A combination of one or more of the DT_ flags, specified in the Win32 function DrawText, that indicate how the button text will be drawn. This value is passed to DrawText when the button text is drawn.
Возвращаемое значение
A DWORD containing the previous text drawing flags.
Заметки
This member function implements the behavior of the Win32 message TB_SETDRAWTEXTFLAGS, as described in the Windows SDK. This member function sets the flags in the Win32 function DrawText, which draws text in the specified rectangle, formatted according to how the flags are set.
Требования
Header: afxcmn.h