btapainting.blogg.se

Loadimage animated cursor
Loadimage animated cursor








loadimage animated cursor loadimage animated cursor

Typically, the hot spot is the focal point of the cursor. In the cursor, a pixel called the hot spot marks the exact screen location that is affected by a mouse event, such as clicking a mouse button. This overview provides information on the following topics: For example, a cursor must be monochrome for a VGA display. The only difference between them is that an image specified as a cursor must be in the format that the display can support. New displays, whose display drivers use the device-independent bitmap (DIB) engine, do support them.Ĭursors and icons are similar and can be used interchangeably in many situations. Old displays such as VGA do not support color or animated cursors. The type of cursor used on a particular computer system depends on the system's display. The following illustration shows several custom cursors.Ĭursors can be either monochrome or color, and either static or animated. An application replaces a default image by using the SetSystemCursor function.Īn application can use the GetIconInfo function to retrieve the current image for a cursor and can draw the cursor by using the DrawIconEx function.Ĭustom cursors are designed for use in a specific application and can be any design the developer defines. The user or an application can replace the default image associated with any standard cursor at any time. See Guidelines for information on recommended usage of standard cursors.Įach standard cursor has a corresponding default image associated with it. The SDK header files contain identifiers for the standard cursors - the identifiers begin with the IDC_ prefix: Value

loadimage animated cursor

Windows provides a set of standard cursors that are available for any application to use at any time.










Loadimage animated cursor