次の方法で共有


NonClientView_t::CalcCaptionRect (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header nclientview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NonClientView_t
RECT