Adds an event handler for the "OnDrawItem" event notification. This event is called for list boxes whose listStyle property is set to TabDrawMode.OWNERDRAWFIXED, and contains a Graphics object in which people should paint the item. Duplicates adds are not filtered out.
[Visual Basic] Public Sub AddOnDrawItem( _ ByVal handler As DrawItemEventHandler _ ) [C#] public void AddOnDrawItem( DrawItemEventHandler handler ); [C++] public: void AddOnDrawItem( DrawItemEventHandler* handler ); [JScript] public function AddOnDrawItem( handler : DrawItemEventHandler );