Description |
Parent class: XHandler
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().
XItemDrawHandler |
XWindow * w | the window |
SHORT itemWidth | the width of the items |
SHORT itemHeight | the height of the items |
Constructor of XItemDrawHandler