I am writing a list control with an image list.

Image List creation is fine, but when I send the LVM_SETIMAGELIST message to the control, the result is 0, (fails)

Does anyone have any idea on why this is happening?