CompuServe Messages

OwnerDraw Listbox Sort

    11-Jul-94 13:31:14
Fm: Charles Steinhardt 70353,2604
To: Kevin Maisano 72204,1011
I can only tell you that when I use an OwnerDraw listbox, I also handle the WM_DRAWITEM myself. I usually have pointers (these pointers are from an array that contains the strings or whatever) in the listbox instead of strings (which allows for MANY more items in a listbox). In WM_DRAWITEM – I get the current listbox line's pointer – and then use drawtext to write out the text. Charles Steinhardt[MVP], OMG Inc. Written 11-Jul-1994 @ 14:29:26 Windows NavCIS PRO 1.21 !^NavFont01F0007MGHHH39A52E