When you place a new instance of ODCboLst onto a form, the primary items relating to owner draw operation are the ClientDraw and Style properties. The Style property allows you to choose what type of control you get. The ClientDraw property determines how the control is rendered, and what options you will have to draw into the control. These styles will be covered in turn. In this style, you are not allowed to do any drawing yourself.
All drawing is done internally in the control using the default drawing method.
In order for this to work, the control's ImageList property must be initialised. The height of the item in pixels. This mode performs the same as ecdNoClient except that once it has finished painting it raises a DrawItem event which allows you to perform extra drawing on the list items. This event is described in ecdClientDrawOnly next. It raises a DrawItem event to the owner form, which should draw the item itself.