GSDP:GAM100/CProcessing/setWindowTitle()
From Inside
< GSDP:GAM100 | CProcessing
setWindowTitle()
Description
Sets the title of the running program.
Parameters
setWindowTitle(const char* title)
- title - (const char*) The string containing the title to change the title bar to.
Example Usage
void update()
{
// Set the window title to the number of frames that have passed.
char buffer[256] = { 0 };
sprintf_s(buffer, 256, "%d frames have passed", frameCount);
setWindowTitle(buffer);
}