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

NAME

	SetWindowPointerA -- Select a pointer for your window. (V39)
SetWindowPointer -- Varargs stub for SetWindowPointerA(). (V39)

SYNOPSIS

	SetWindowPointerA( window, taglist )
A0 A1
VOID SetWindowPointerA( struct Window *, struct TagItem * );
SetWindowPointer( window, tag1, ... )
VOID SetWindowPointer( struct Window *, ULONG tag1, ... );

FUNCTION

	Allows you to set the pointer image associated with the
specified window. Whenever the window is the active one,
the pointer image will change to the window's version.
If the window is the active one when this routine is
called, the change takes place immediately.

INPUTS

	window = pointer to the window to receive this pointer definition
taglist = pointer to a taglist describing your pointer

TAGS

	The same three tags are also accepted by OpenWindowTagList(),
which allows you to establish the initial pointer at the
time you open your window.
WA_Pointer (APTR) - The pointer you wish to associate with
your window. If NULL, you are requesting the Preferences
default pointer. Custom pointers should be allocated
by performing a NewObject() on "pointerclass".
(See <intuition/pointerclass.h>). Defaults to NULL.
WA_BusyPointer (BOOL) - Set to TRUE to request the Preferences
busy-pointer. If FALSE, your pointer will be as requested
by WA_Pointer. Defaults to FALSE.
WA_PointerDelay (BOOL) - Set to TRUE to defer changing your
pointer for a brief instant. This is typically used
along with setting the busy pointer, especially when
the application knows it may be busy for a very short
while. If the application clears the pointer or sets
another pointer before the delay expires, the pending
pointer change is cancelled. This reduces short
flashes of the busy pointer.

RESULT

	None

EXAMPLE

	This example sets the standard busy pointer with pointer-delay,
does a bit of work, then clears the pointer:
/* Put up the busy pointer, with pointer-delay */
SetWindowPointer( win,
WA_BusyPointer, TRUE,
WA_PointerDelay, TRUE,
TAG_DONE );
/* Do busy stuff here */
/* No tags means "clear the pointer" */
SetWindowPointer( win,
TAG_DONE );

BUGS

SEE ALSO

SetPointer(), ClearPointer(), ROM Kernel Manual: Libraries

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:

Spaceballs

ANA
PDX
TBL
SPB

Comments:

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