Actually goes and fires the drawItem event. Inheriting controls should use this to know when the event is fired [this is preferable to adding an event handler yourself for this event]. They should, however, remember to call base.onDrawItem(e); to ensure the event is still fired to external listeners
[Visual Basic] Overridable Protected Sub OnDrawItem( _ ByVal e As DrawItemEventArgs _ ) [C#] protected virtual void OnDrawItem( DrawItemEventArgs e ); [C++] protected: virtual void OnDrawItem( DrawItemEventArgs* e ); [JScript] protected function OnDrawItem( e : DrawItemEventArgs );