Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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