NonClientView_t::CalcCaptionRect (Windows CE 5.0)
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
Send Feedback on this topic to the authors