Combobox within ListCtrl

The ComboCtrl can pop-up a variety of widgets.

···

-----Original Message-----
From: Rickey, Kyle W [mailto:Kyle.Rickey@bakerhughes.com]
Sent: Monday, January 21, 2008 8:49 AM

I was trying to something similar with hyperlinks, but it ends up
getting complicated when the user scrolls. In you combobox example, the
user can drag/click the scrollbar, but the combobox doesn't move.

Here is a very sloppy example of what I started. If you recall a
previous discussion we had about HDS_FULLDRAG styles on ListCtrls for
MSW, that window style must be remove to get EVT_LIST_COL_DRAGGING.

I use a dictionary to keep track of what row, col a hyperlink is in, and
reposition all hyperlinks when the user scrolls the window. I haven't
tested this on anything but Windows XP. Although the display does
flicker... I haven't had time to look into it.