I have a program that uses a listview control and 2 edit boxes for user input. I can select items in the listview control perfectly, but when I set focus to the edit boxes, it appears that the selected items in the listview control disappear. If I put the cursor back in focus of the listview control, the items are still selected. Is there anyway to have the selected items stay highlighted when moving to the editbox control?
Posted on 2001-03-20 17:44:00 by Schwartzteufel
You need to use the LVS_SHOWSELALWAYS style.
Posted on 2001-03-20 19:43:00 by martin