GSDP:GAM100/CProcessing/setWindowTitle()

From Inside
< GSDP:GAM100‎ | CProcessing
Revision as of 12:54, 13 October 2019 by >Zachary.logsdon (New page: {{GSDP:GAM100API.css}} = setWindowTitle() = == Description == Sets the title of the running program. ===Parameters=== setWindowTitle(const char* title) * title - (const char*) The strin...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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);
}
Personal tools
Namespaces

Variants
Actions
Navigation
NameSpaces:>
Tools
Dynamic:>