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


CWnd::DrawCaption

Draws a window caption.

BOOL DrawCaption(
   CDC* pDC,
   LPCRECT lprc,
   UINT uFlags
);

Параметры

  • pDC
    A pointer to a device context. The function draws the window caption into this device context.

  • lprc
    A pointer to a RECT structure that specifies the bounding rectangle for the window caption.

  • uFlags
    Specifies drawing options. For a complete list of values, see DrawCaption.

Возвращаемое значение

Nonzero if the function succeeds; otherwise 0.

Заметки

This member function emulates the functionality of the function DrawCaption, as described in the Windows SDK.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart