S
SirThanxALot
Dear all,
This is the situation:
I have a custom subclass of ListBox
- OnDrawItem overriden
- OnSelectedIndexChanged overriden
- DrawMode.OwnerDrawFixed (same issue with OwnerDrawVariable)
However, when I activate double buffering with
SetStyle(COntrolStyles.AllPaintingInWmPaint|ControlStyles.UserPaint|ControlStyles.DoubleBuffer,true)
The items are not drawn on the screen, but they seem to be there. If I click on them
the Item is displayed correctly.
Any hints on double buffering in ListBox components?
kind regards,
SrTnxALt
This is the situation:
I have a custom subclass of ListBox
- OnDrawItem overriden
- OnSelectedIndexChanged overriden
- DrawMode.OwnerDrawFixed (same issue with OwnerDrawVariable)
However, when I activate double buffering with
SetStyle(COntrolStyles.AllPaintingInWmPaint|ControlStyles.UserPaint|ControlStyles.DoubleBuffer,true)
The items are not drawn on the screen, but they seem to be there. If I click on them
the Item is displayed correctly.
Any hints on double buffering in ListBox components?
kind regards,
SrTnxALt