setPreviewCursor

Syntax

setPreviewCursor(int n)

Arguments

n
An integer constant describing the cursor image to use.

Description

This function defines which standard Windows pointer to use when the mouse is over the preview image. Suitable values for 'int n' are
                  103  : Default Windows pointer (hand)
  IDC_ARROW    (32512) : Arrow pointer
  IDC_IBEAM    (32513) : I beam (text cursor)
  IDC_WAIT     (32514) : Busy pointer
  IDC_CROSS    (32515) : Cross
  IDC_UPARROW  (32516) : Up arrow
  IDC_SIZE     (32640) : Size pointer
  IDC_HELP     (32641) : pointer with question mark
  IDC_SIZENWSE (32642) : NWSE diagonal arrow
  IDC_SIZENESW (32643) : NESW diagonal arrow
  IDC_SIZEWE   (32644) : WE arrow
  IDC_SIZENS   (32645) : NS arrow
  IDC_SIZEALL  (32646) : Size all crossed-arrows
  IDC_NO       (32648) : NO pointer
  IDC_APPSTARTING (32650) : Application Starting pointer
  IDC_ICON     (32651) : ? custom cursor?

Example

onFilterStart:{
setPreviewCursor(32515);
return false;
}
// Sets preview cursor to accurate cross-hair

Also see

Comments

Bear in mind that when using these cursors, cursors may differ for different machines depending on the user's cursor preferences and any themes running.