Miscellaneous Windows-only methods

Web Site  Methods

 
Str::GetWindowText
 
void GetWindowText (HWND wnd)

This method will retrieve the caption of the passed window (by calling the Win32 API GetWindowText) and place it in the Str object.

Using the method spares the programmer from manipulating char* buffers and calling the API function directly.

 

See also: Windows-specific