Group: Painting and Drawing - Library: user32
Drawing a window caption using the DrawCaption routine
BOOL DrawCaption(
HWND hwnd, // handle to window
HDC hdc, // handle to device context
LPCRECT lprc, // rectangle to draw into
UINT uFlags // drawing options
);
DECLARE INTEGER DrawCaption IN user32;
INTEGER hwnd,;
INTEGER hdc,;
STRING lprc,;
INTEGER uFlags
hwnd [in] Handle to a window that supplies text and an icon for the window caption.
hdc [in] Handle to a device context. The function draws the window caption into this device context.
lprc [in] Pointer to a RECT structure that specifies the bounding rectangle for the window caption.
uFlags [in] Specifies drawing options.
If the function succeeds, the return value is nonzero.