Description


Include file: xitmdhdl.h

Parent class: XHandler

Overview

XItemDrawHandler is used for controls which can draw the items itself, eg. menus or listboxes with the style OWNERDRAW. To do so derive a class from XItemDrawHandler and override the method HandleEvent(). If you catch a XItemDrawEvent you can draw the item by calling XItemDrawEvent::DrawItem().

Functions

XItemDrawHandler

Parameters


XWindow * w the window
SHORT itemWidth the width of the items
SHORT itemHeight the height of the items

Remarks

Constructor of XItemDrawHandler


This document was generated by Jens von Pilgrim's Autodoc