|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Returns the length of the CWnd object caption title.
If CWnd is a control, the GetWindowTextLength member function returns the length of the text within the control instead of the caption.
This member function causes the WM_GETTEXTLENGTH message to be sent to the CWnd object.