Currently viewing: GipsySoft » Front Page» Articles

CWindowText

Simple inline class to gain access to the text a window holds.

Note that you cannot set the window text using this class.

Example

#include <WindowText.h>

...

CWindowText strText( hwnd );
printf( "Window text is %s\n", (LPCTSTR)strText );

 

Click to view the source code

See also none