About SetFocus in Doc/View Architecture
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have made a program with Outlookbar Class and a clistview class now, i'd like when i click in the Outlookbar automatically the view will take the focus. I have tried with SetFocus(). but nothing. Can you indicate me the correct procedure? i start with this line to geto pointer to the view
CView* pView = (CView*)GetActiveView();
It will not take you many time, so thanks in advance. Giovanni