how do you update the caption in the top bar ? I want to tell the fps.
____________________________
|Bar Caption |-|o|X|
----------------------------------------- |
| |
|
|
|
|
|
|
|
|
Printable View
how do you update the caption in the top bar ? I want to tell the fps.
____________________________
|Bar Caption |-|o|X|
----------------------------------------- |
| |
|
|
|
|
|
|
|
|
hope that helpedQuote:
The 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.