2013-08-19 Keith Marshall <keithmarshall@users.sourceforge.net>
+ Add simplified support for changing window captions.
+
+ * wtklite.h (ChangeCaption): New static inline function; implement it.
+
+2013-08-19 Keith Marshall <keithmarshall@users.sourceforge.net>
+
Add facility for control of child window placement.
* wtkalign.h: New file; it declares the API for...
*/
EXTERN_C int RaiseAppWindow( HINSTANCE, unsigned int );
+ static __inline__
+ int ChangeCaption( HWND window, const char *caption )
+ {
+ /* Helper to change the title bar caption on a specified window.
+ */
+ return SendMessage( window, WM_SETTEXT, 0, (LPARAM)(caption) );
+ }
+
END_NAMESPACE( WTK )
#endif /* ! WTKLITE_H: $RCSfile$: end of file */