CToolBarCtrl::SetDrawTextFlags

DWORD SetDrawTextFlags( DWORD dwMask, DWORD dwDTFlags );

Return Value

A DWORD containing the previous text drawing flags.

Parameters

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.

Remarks

This member function implements the behavior of the Win32 message TB_SETDRAWTEXTFLAGS, as described in the Platform 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.

CToolBarCtrl OverviewClass MembersHierarchy Chart