How to use BSImageList control
Please see topic "Create TreeView has icon" here.
MsgBoxParams with icon - BSImageList