Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Outlook address Book invoking in VC6 Pin
Michael P Butler4-Nov-02 1:08
Michael P Butler4-Nov-02 1:08 
GeneralGDI+ linker issues Pin
Senkwe Chanda3-Nov-02 20:26
Senkwe Chanda3-Nov-02 20:26 
GeneralRe: GDI+ linker issues Pin
Shog93-Nov-02 21:26
sitebuilderShog93-Nov-02 21:26 
GeneralRe: GDI+ linker issues Pin
Senkwe Chanda3-Nov-02 21:39
Senkwe Chanda3-Nov-02 21:39 
GeneralLaunch browser window Pin
Henrik_O3-Nov-02 20:20
Henrik_O3-Nov-02 20:20 
GeneralRe: Launch browser window Pin
Anatari3-Nov-02 20:40
Anatari3-Nov-02 20:40 
GeneralRe: Launch browser window Pin
dabs4-Nov-02 0:01
dabs4-Nov-02 0:01 
QuestionNever lost the focus? Pin
Daniel Strigl3-Nov-02 20:14
Daniel Strigl3-Nov-02 20:14 
I have a property page (CPropertyPage) with a CListCtrl and some buttons. With this buttons I can delete a item in the CListCtrl or change the position of a item in the CListCtrl (up or down).

So, the problem is that I want to make the current selected item allways be marked as the selected item.

I have tried to set the focus in every button handler (On...()) to the list box (CListCtrl):

m_ctrlList.SetFocus();


That works fine, when I click on a button. The focus switch back to the list box. But when I click anyone else on the property page the list box lost the focus and the current selected item will be marked in some gray (the background of an item will be gray).

So, I want that the current item will be allways be marked in blue and that the list box will never lost the focus, when I click anywhere on the property page.

How to make?

Daniel Wink | ;)
---------------------------
Never change a running system!
AnswerRe: Never lost the focus? Pin
Anatari3-Nov-02 21:03
Anatari3-Nov-02 21:03 
GeneralRe: Never lost the focus? Pin
Daniel Strigl4-Nov-02 1:00
Daniel Strigl4-Nov-02 1:00 
GeneralClass wizard Pin
Shamoon3-Nov-02 20:10
Shamoon3-Nov-02 20:10 
GeneralRe: Class wizard Pin
Anatari3-Nov-02 20:16
Anatari3-Nov-02 20:16 
QuestionHow to set the background color of one line of CListCtrl? Pin
Wenrich3-Nov-02 19:28
Wenrich3-Nov-02 19:28 
AnswerRe: How to set the background color of one line of CListCtrl? Pin
viliam4-Nov-02 0:43
viliam4-Nov-02 0:43 
AnswerRe: How to set the background color of one line of CListCtrl? Pin
Alexinuk4-Nov-02 4:36
Alexinuk4-Nov-02 4:36 
Questionwhy virtual destructor? Pin
devvvy3-Nov-02 18:46
devvvy3-Nov-02 18:46 
AnswerRe: why virtual destructor? Pin
Chris Losinger3-Nov-02 18:51
professionalChris Losinger3-Nov-02 18:51 
GeneralRe: why virtual destructor? Pin
devvvy3-Nov-02 18:57
devvvy3-Nov-02 18:57 
GeneralRe: why virtual destructor? Pin
Chris Losinger3-Nov-02 18:59
professionalChris Losinger3-Nov-02 18:59 
GeneralRe: why virtual destructor? Pin
Paul M Watt3-Nov-02 19:11
mentorPaul M Watt3-Nov-02 19:11 
GeneralRe: why virtual destructor? Pin
Chris Losinger3-Nov-02 19:23
professionalChris Losinger3-Nov-02 19:23 
GeneralRe: why virtual destructor? Pin
Paul M Watt3-Nov-02 19:39
mentorPaul M Watt3-Nov-02 19:39 
GeneralRe: why virtual destructor? Pin
Chris Losinger3-Nov-02 19:59
professionalChris Losinger3-Nov-02 19:59 
AnswerRe: why virtual destructor? Pin
Paul M Watt3-Nov-02 19:35
mentorPaul M Watt3-Nov-02 19:35 
GeneralRe: why virtual destructor? Pin
devvvy3-Nov-02 19:51
devvvy3-Nov-02 19:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.