CListCtrl: The List Control de-highlights when the control loses focus 
Author Message
 CListCtrl: The List Control de-highlights when the control loses focus

I have a CListControl and have two problems:
1)    The user selected items become  de-highlighted  when the control loses
focus, and
2)     Program selected items  are not highlighted.
Any help would be appreciated

Phil Rounds



Sat, 16 Nov 2002 03:00:00 GMT  
 CListCtrl: The List Control de-highlights when the control loses focus

Quote:
>I have a CListControl and have two problems:
>1)    The user selected items become  de-highlighted  when the control loses
>focus, and
>2)     Program selected items  are not highlighted.
>Any help would be appreciated

>Phil Rounds


You need to set the LVS_SHOWSELALWAYS style.

-Anatoly

-------------------------------------------------------
DTLink (Software), LLC            http://www.dtlink.com
 Get your FREE 30-day trial of Personal Stock Monitor!
     "The Desktop Companion for Online Investors."
 Ziff-Davis Award 1998, Shareware Industry Award 1999
-------------------------------------------------------



Sat, 16 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. CListCtrl Row Highlight disappears when control loses focus

2. CListCtrl - highlight item after losing focus?

3. WM_MEASUREITEM , CListCtrl (win32 list view control) and control reflection

4. force a control to LOST FOCUS~!!!!

5. How can you check for Lost Focus in a Composite Control

6. ATL ActiveX control loses focus when VB form displayed

7. ATL Control Doesn't Lose Focus?

8. ActiveX control losing focus

9. keeping selection in richedit control when losing focus

10. Control lost focus

11. control validation on lost focus in CFormView

12. Lost focus of CMSMask Control

 

 
Powered by phpBB® Forum Software