a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 intuition.library
  ActivateGadget
  ActivateWindow
  AddClass
  AddGList
  AddGadget
  AllocRemember
  AllocScreenBuffer
  AutoRequest
  BeginRefresh
  BuildEasyRequestArgs
  BuildSysRequest
  ChangeScreenBuffer
  ChangeWindowBox
  ClearDMRequest
  ClearMenuStrip
  ClearPointer
  CloseScreen
  CloseWindow
  CloseWorkBench
  CurrentTime
  DisplayAlert
  DisplayBeep
  DisposeObject
  DoGadgetMethodA
  DoubleClick
  DrawBorder
  DrawImage
  DrawImageState
  EasyRequestArgs
  EndRefresh
  EndRequest
  EraseImage
  FreeClass
  FreeRemember
  FreeScreenBuffer
  FreeScreenDrawInfo
  FreeSysRequest
  GadgetMouse
  GetAttr
  GetDefPrefs
  GetDefaultPubScreen
  GetPrefs
  GetScreenData
  GetScreenDrawInfo
  HelpControl
  InitRequester
  IntuiTextLength
  ItemAddress
  LendMenus
  LockIBase
  LockPubScreen
  LockPubScreenList
  MakeClass
  MakeScreen
  ModifyIDCMP
  ModifyProp
  MoveScreen
  MoveWindow
  MoveWindowInFrontOf
  NewModifyProp
  NewObject
  NextObject
  NextPubScreen
  ObtainGIRPort
  OffGadget
  OffMenu
  OnGadget
  OnMenu
  OpenScreen
  OpenScreenTagList
  OpenWindow
  OpenWindowTagList
  OpenWorkBench
  PointInImage
  PrintIText
  PubScreenStatus
  QueryOverscan
  RefreshGList
  RefreshGadgets
  RefreshWindowFrame
  ReleaseGIRPort
  RemakeDisplay
  RemoveClass
  RemoveGList
  RemoveGadget
  ReportMouse
  Request
  ResetMenuStrip
  RethinkDisplay
  ScreenDepth
  ScreenPosition
  ScreenToBack
  ScreenToFront
  ScrollWindowRaster
  SetAttrsA
  SetDMRequest
  SetDefaultPubScreen
  SetEditHook
  SetGadgetAttrsA
  SetMenuStrip
  SetMouseQueue
  SetPointer
  SetPrefs
  SetPubScreenModes
  SetWindowPointerA
  SetWindowTitles
  ShowTitle
  SizeWindow
  SysReqHandler
  TimedDisplayAlert
  UnlockIBase
  UnlockPubScreen
  UnlockPubScreenList
  ViewAddress
  ViewPortAddress
  WBenchToBack
  WBenchToFront
  WindowLimits
  WindowToBack
  WindowToFront
  ZipWindow
Include
GuruMeditation
Docs » Autodocs » intuition.library » SetWindowTitles

NAME

	SetWindowTitles -- Set the window's titles for both window and screen.

SYNOPSIS

	SetWindowTitles( Window, WindowTitle, ScreenTitle )
A0 A1 A2
VOID SetWindowTitles( struct Window *, UBYTE *, UBYTE * );

FUNCTION

	Allows you to set the text which appears in the Window and/or Screen
title bars.
The window title appears at all times along the window title bar.
The window's screen title appears at the screen title bar whenever
this window is the active one.
When this routine is called, your window title will be changed
immediately. If your window is the active one when this routine is
called, the screen title will be changed immediately.
You can specify a value of -1 (i.e. (UBYTE *) ~0) for either of
the title pointers. This designates that you want Intuition to leave
the current setting of that particular title alone, and modify
only the other one. Of course, you could set both to -1.
Furthermore, you can set a value of 0 (zero) for either of the
title pointers. Doing so specifies that you want no title to
appear (the title bar will be blank).
Both of the titles are rendered in the default font of the window's
screen, as set using OpenScreen().
In setting the window's title, Intuition may do some other rendering
in the top border of your window. If your own rendering sometimes
appears in your window border areas, you may want to restore the entire
window border frame. The function SetWindowTitles() does not do this
in the newer versions. The function RefreshWindowFrame() is provided
to do this kind of thing for you.

INPUTS

	Window = pointer to your window structure
WindowTitle = pointer to a null-terminated text string, or set to
either the value of -1 (negative one) or 0 (zero)
ScreenTitle = pointer to a null-terminated text string, or set to
either the value of -1 (negative one) or 0 (zero)

RESULT

	None

BUGS

SEE ALSO

OpenWindow(), RefreshWindowFrame(), OpenScreen()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Anarchy

HZ
ATX
ANA
DJ

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se