Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCView/ new line Pin
_808625-Mar-07 18:16
_808625-Mar-07 18:16 
AnswerRe: CView/ new line Pin
Nibu babu thomas25-Mar-07 18:58
Nibu babu thomas25-Mar-07 18:58 
GeneralRe: CView/ new line Pin
_808625-Mar-07 19:25
_808625-Mar-07 19:25 
QuestionHow can i change CTreeCtrl properties in run time ? Pin
Yanshof25-Mar-07 18:09
Yanshof25-Mar-07 18:09 
AnswerRe: How can i change CTreeCtrl properties in run time ? [modified] Pin
Parthi_Appu25-Mar-07 18:54
Parthi_Appu25-Mar-07 18:54 
QuestionItem's problem of states and action Pin
Chen-XuNuo25-Mar-07 17:44
Chen-XuNuo25-Mar-07 17:44 
AnswerRe: Item's problem of states and action Pin
Nibu babu thomas25-Mar-07 19:13
Nibu babu thomas25-Mar-07 19:13 
GeneralRe: Item's problem of states and action Pin
Chen-XuNuo26-Mar-07 4:09
Chen-XuNuo26-Mar-07 4:09 
Q1:
if(action&ODA_FOCUS)
{
CBrush brush(RGB(255,0,0));
pDC->FrameRect(&rectItem,&brush);
}
I wonder why I do this in DrawItem,when I ran the program and clicked the item which is not the first one,the first item's edge turned red too?

Q2:
What is difference between ODA_FOCUS and ODA_SELECT?

Q3:
As I click an item in a listbox,and then I click another control,does combination of (state & ODS_SELECTED)&& !(action&ODA_FOCUS) correspond to the item I clicked firstly?


QuestionSTL trickery [modified] Pin
User 58385225-Mar-07 16:07
User 58385225-Mar-07 16:07 
AnswerRe: STL trickery Pin
Stephen Hewitt25-Mar-07 17:42
Stephen Hewitt25-Mar-07 17:42 
GeneralRe: STL trickery Pin
User 58385225-Mar-07 20:24
User 58385225-Mar-07 20:24 
GeneralRe: STL trickery Pin
Stephen Hewitt25-Mar-07 20:42
Stephen Hewitt25-Mar-07 20:42 
GeneralRe: STL trickery Pin
User 58385225-Mar-07 20:57
User 58385225-Mar-07 20:57 
GeneralRe: STL trickery Pin
Stephen Hewitt25-Mar-07 21:10
Stephen Hewitt25-Mar-07 21:10 
GeneralRe: STL trickery Pin
User 58385225-Mar-07 21:19
User 58385225-Mar-07 21:19 
GeneralRe: STL trickery Pin
Stephen Hewitt25-Mar-07 21:51
Stephen Hewitt25-Mar-07 21:51 
QuestionDual Core Processor With Visual C++ 2005 Express edition Pin
ForNow25-Mar-07 16:04
ForNow25-Mar-07 16:04 
AnswerRe: Dual Core Processor With Visual C++ 2005 Express edition Pin
Christian Graus25-Mar-07 16:10
protectorChristian Graus25-Mar-07 16:10 
GeneralRe: Dual Core Processor With Visual C++ 2005 Express edition Pin
ForNow25-Mar-07 16:21
ForNow25-Mar-07 16:21 
AnswerRe: Dual Core Processor With Visual C++ 2005 Express edition Pin
Manticorr25-Mar-07 17:15
Manticorr25-Mar-07 17:15 
GeneralRe: Dual Core Processor With Visual C++ 2005 Express edition Pin
ForNow26-Mar-07 6:36
ForNow26-Mar-07 6:36 
QuestionApplication - Service Communication [modified] Pin
Gurkenscheibe25-Mar-07 11:12
Gurkenscheibe25-Mar-07 11:12 
AnswerRe: Application - Service Communication Pin
Programm3r25-Mar-07 20:56
Programm3r25-Mar-07 20:56 
GeneralRe: Application - Service Communication Pin
Gurkenscheibe26-Mar-07 10:43
Gurkenscheibe26-Mar-07 10:43 
GeneralRe: Application - Service Communication Pin
JudyL_MD26-Mar-07 2:20
JudyL_MD26-Mar-07 2:20 

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.