ImageList Control Messages

The ImageList Control supports the following Window Messages:

 

Message

Value

L_ILM_GETSELOPTIONS

WM_USER + 1

L_ILM_SETSELOPTIONS

WM_USER + 2

L_ILM_GETITEMOPTIONS

WM_USER + 3

L_ILM_SETITEMOPTIONS

WM_USER + 4

L_ILM_GETROWCOUNT

WM_USER + 5

L_ILM_GETCOLCOUNT

WM_USER + 6

L_ILM_GETITEMCOUNT

WM_USER + 7

L_ILM_GETITEM

WM_USER + 8

L_ILM_CLEAR

WM_USER + 9

L_ILM_INSERT

WM_USER + 10

L_ILM_INSERTAT

WM_USER + 11

L_ILM_SETITEM

WM_USER + 12

L_ILM_REMOVE

WM_USER + 13

L_ILM_SORT

WM_USER + 14

L_ILM_HITTEST

WM_USER + 15

L_ILM_SCROLLITEMS

WM_USER + 16

L_ILM_ENSUREVISIBLE

WM_USER + 17

L_ILM_GETSELCOUNT

WM_USER + 18

L_ILM_GETSELITEMS

WM_USER + 19

L_ILM_GETBACKCOLOR

WM_USER + 20

L_ILM_SETBACKCOLOR

WM_USER + 21

L_ILM_GETBORDERCOLOR

WM_USER + 22

L_ILM_SETBORDERCOLOR

WM_USER + 23

L_ILM_SELECTALL

WM_USER + 24

L_ILM_GETSCROLLSTYLE

WM_USER + 25

L_ILM_SETSCROLLSTYLE

WM_USER + 26

L_ILM_ITEMSELECTED

WM_USER + 27

L_ILM_GETPAGECOUNT

WM_USER + 28

L_ILM_GETPAGE

WM_USER + 29

L_ILM_ENABLEKEYBOARD

WM_USER + 30

L_ILM_SETDISPLAYFLAGS

WM_USER + 31

L_ILM_SETSELBITMAP

WM_USER + 32

L_ILM_ITEMUNSELECTED

WM_USER + 33

L_ILM_SAVEDATABASE

WM_USER + 34

L_ILM_LOADDATABASE

WM_USER + 35

L_ILM_DRAWITEM

WM_USER + 36

L_ILM_GETVIEWSIZE

WM_USER + 37

L_ILM_GETFIRSTVISIBLE

WM_USER + 38

L_ILM_IMPORTBITMAPLIST

WM_USER + 41

L_ILM_EXPORTBITMAPLIST

WM_USER + 42

L_ILM_SORTEXT

WM_USER + 44