DrawIconEx(3w)

DrawIconEx3w

Usage

BOOL DrawIconEx
(
HDC hdc,
INT x0,
INT y0,
HICON hIcon,
INT cxWidth,
INT cyWidth,
UINT istep,
HBRUSH hbr,
UINT flags
)

Overview

DrawIconEx (USER32.@) Draws an icon or cursor on device context.

Notes

Why is this using SM_CXICON instead of SM_CXCURSOR?.

Params

hdc [In] Handle to device context.

x0 [In] X coordinate of upper left corner.

y0 [In] Y coordinate of upper left corner.

hIcon [In] Handle to icon to draw.

cxWidth [In] Width of icon.

cyWidth [In] Height of icon.

istep [In] Index of frame in animated cursor.

hbr [In] Handle to background brush.

flags [In] Icon-drawing flags.

Returns

Success: TRUE

Failure: FALSE

Implementation

Declared in "winuser.h".

Implemented in "dlls/user32/cursoricon.c".

Debug channel "cursor".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.