Assigns a delegate to the drawItem event.
public void addOnDrawItem( StatusBarDrawItemEventHandler value )
value
The StatusBarDrawItemEventHandler delegate to be notified when the event occurs.
Passing an event handler as a parameter to this method is equivalent to setting the drawItem event to that method in the Properties window. The drawItem event occurs when when a visual aspect of an owner-drawn status bar changes.
See Also removeOnDrawItem