

This parameter can be one of the following values. If hbrFlickerFreeDraw is NULL, the system draws the icon or cursor directly into the device context. If hbrFlickerFreeDraw is a valid brush handle, the system creates an offscreen bitmap using the specified brush for the background color, draws the icon or cursor into the bitmap, and then copies the bitmap into the device context identified by hdc. This parameter is ignored if hIcon does not identify an animated cursor.Ī handle to a brush that the system uses for flicker-free drawing. The index of the frame to draw, if hIcon identifies an animated cursor. If this parameter is zero and DI_DEFAULTSIZE is not used, the function uses the actual resource height. If this parameter is zero and the diFlags parameter is DI_DEFAULTSIZE, the function uses the SM_CYICON system metric value to set the width. The logical height of the icon or cursor. If this parameter is zero and DI_DEFAULTSIZE is not used, the function uses the actual resource width. If this parameter is zero and the diFlags parameter is DI_DEFAULTSIZE, the function uses the SM_CXICON system metric value to set the width. This parameter can identify an animated cursor. The logical y-coordinate of the upper-left corner of the icon or cursor.Ī handle to the icon or cursor to be drawn.

The logical x-coordinate of the upper-left corner of the icon or cursor. HBRUSH hbrFlickerFreeDraw,Ī handle to the device context into which the icon or cursor will be drawn. Draws an icon or cursor into the specified device context, performing the specified raster operations, and stretching or compressing the icon or cursor as specified.
