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 » SizeWindow

NAME

	SizeWindow -- Ask Intuition to size a window.

SYNOPSIS

	SizeWindow( Window, DeltaX, DeltaY )
A0 D0 D1
VOID SizeWindow( struct Window *, WORD, WORD );

FUNCTION

	This routine sends a request to Intuition asking to size the window 
the specified amounts. The delta arguments describe how much to
size the window along the respective axes.
Note that the window will not be sized immediately, but rather
will be sized the next time Intuition receives an input event,
which happens currently at a minimum rate of ten times per second,
and a maximum of sixty times a second. You can discover when
you window has finally been sized by setting the IDCMP_NEWSIZE flag
of the IDCMP of your window. See the "Input and Output Methods"
chapter of The Intuition Reference Manual for description of the IDCMP.
New for V36: Intuition now will do validity checking on the final
dimensions. To change to new absolute dimensions, or to move and
size a window in one step, use ChangeWindowBox().
However, limit checking against window MinWidth, MinHeight,
MaxWidth, and MaxHeight was not done prior to V36, and
these fields are still ignored (as documented) if you have
no sizing gadget (WFLG_SIZEGADGET is not set). The *are*
respected now (V36) if WFLG_SIZEGADGET is set.
New for V36: you can determine when the change in size has
taken effect by receiving the IDCMP_CHANGEWINDOW IDCMP message.

INPUTS

	Window = pointer to the structure of the window to be sized
DeltaX = signed value describing how much to size the window
on the x-axis
DeltaY = signed value describing how much to size the window
on the y-axis

RESULT

	None

BUGS

SEE ALSO

ChangeWindowBox(), MoveWindow(), WindowToFront(), WindowToBack()

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:

Kefrens

AYS
KEF
ANA
RBS

Comments:

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