Compartir a través de


NonClientView_t::CalcCaptionRect (Windows CE 5.0)

Send Feedback

This method determines the coordinates of the rectangle that bounds the title bar of the window.

static BOOL CalcCaptionRect(HWND hwnd,RECT* lprc);

Parameters

  • hwnd
    [in] Handle to the window.
  • lprc
    [out] Pointer to a RECT structure that receives the coordinates of the rectangle that bounds the title bar of the window.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Nclientview.hpp.

See Also

RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.