Select a pointer for your window.
Source position: intuition.pas line 3942
procedure SetWindowPointerA( |
Win: PWindow; |
const Taglist: PTagItem |
); |
Win |
|
A pointer to the window to receive this pointer definition |
Taglist |
|
A pointer to a taglist describing your pointer |
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.
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.
Snippet
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]);
|
Varargs Version of SetWindowPointerA() |
|
|
Specify a pointer sprite image for a window. |
|
|
Clear the mouse pointer definition from a window. |