how do you update the caption in the top bar ? I want to tell the fps.
____________________________
|Bar Caption |-|o|X|
----------------------------------------- |
| |
|
|
|
|
|
|
|
|
how do you update the caption in the top bar ? I want to tell the fps.
____________________________
|Bar Caption |-|o|X|
----------------------------------------- |
| |
|
|
|
|
|
|
|
|
Last edited by slx47; 05-12-2002 at 01:16 PM.
hope that helpedThe SetWindowText function changes the text of the specified window’s title bar (if it has one). If the specified window is a control, the text of the control is changed.
Parameters:Code:BOOL SetWindowText( HWND hWnd, // handle of window or control LPCTSTR lpString // address of string );
hWnd:
Identifies the window or control whose text is to be changed.
lpString:
Points to a null-terminated string to be used as the new title or control text.
"There are three kinds of people in the world...
Those that can count and those that can't."