DrawStatusText

This function draws the specified text in the style of a status window with borders.

void DrawStatusText(
HDC hdc, 
LPRECT lprc, 
LPCWSTR pszText, 
UINT uFlags );

Parameters

  • hdc
    Handle to the display context for the window.
  • lprc
    Long pointer to a RECT structure that contains the position, in client coordinates, of the rectangle in which the text is drawn. The function draws the borders just inside the edges of the specified rectangle.
  • pszText
    Pointer to a null-terminated string that specifies the text to display. Tab characters in the string determine whether the string is left-aligned, right-aligned, or centered.
  • uFlags
    Text drawing flags. This parameter can be a combination of these values:
    Value Description
    SBT_NOBORDERS Prevents borders from being drawn around the specified text.
    SBT_POPOUT Draws highlighted borders that make the text stand out.
    SBT_RTLREADING Displays text using right-to-left reading order on Hebrew or Arabic systems.

Return Values

None.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h   Commctrl.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

RECT

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.