Excalibur Software PropertyList 3.0
DrawItem
Event DrawItem(iProp As Property, hDC As Long, _
lLeft As Long, lTop As Long, _
lRight As Long, lBottom As Long, _
lStartText As Long, lStartValue As Long)
Description
Occurs when an owner-drawn item needs to be painted.
Parameters:
- iProp - The Property object that should be drawn.
- hDC - The Windows GDI device context onto which the
item should be drawn.
- lLeft - The X coordinate specifying where to begin
drawing the item.
- lTop - The Y coordinate at which to begin drawing
the item.
- lRight - The X coordinate where the item should end.
- lBottom - The Y coordinate where the item should end.
- lStartText - The X position at which to begin drawing
the item's name. This will be the same as the lLeft
parameter if the PropertyList's Style is Standard, or
will account for enough room to draw the item's Picture
if the Style is Graphical.
- lStartValue - The X position at which to begin drawing
the item's value.
Remarks
A fair knowledge of the Windows GDI API will be required
to use the PropertyList's owner-draw feature.
There
is an example project included with the PropertyList 3.0
package that demonstrates how to use owner-draw.