I have down loaded this application and it is working fine.
I used your class in my application also That also working fine.
But the problem is when I mapped message on List box but it is not responsing. I want to map
onselectionchange massage to be mapped.
Pl. any solution for the same?
I tried to do the same multi-line listbox implementing a horizontal scroll bar. I could get the horizontal
scroll bar working by setting the window origin of the listbox depending on the scroll position. For some
reason that I didn't have time to look into the scroll bar clashed with using the arrow keyboard keys and
caused an endless message loop of redraws. I imagine that the problem is due to the device context passed as
part of the LPDRAWITEMSTRUCT only refering to a particular item in the list box and not for the whole listbox
viewable area. Therefore shifting the window origin will only work for the item's region of the listbox and
not the other items with undesiriable results. It would be nice to know a suitable work around for this