Click here to Skip to main content
16,011,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl & Report Style Pin
Derek Waters20-Nov-01 16:52
Derek Waters20-Nov-01 16:52 
GeneralRe: CListCtrl & Report Style Pin
Matt Newman20-Nov-01 16:57
Matt Newman20-Nov-01 16:57 
GeneralRe: CListCtrl & Report Style Pin
Matt Newman22-Nov-01 5:11
Matt Newman22-Nov-01 5:11 
Generaltemplates with multiple params in macros Pin
Jason De Arte19-Nov-01 14:44
Jason De Arte19-Nov-01 14:44 
GeneralRe: templates with multiple params in macros Pin
Michael Dunn19-Nov-01 15:04
sitebuilderMichael Dunn19-Nov-01 15:04 
GeneralCTreeCtrl Help Please! Pin
Vu Nguyen19-Nov-01 14:32
Vu Nguyen19-Nov-01 14:32 
GeneralRe: CTreeCtrl Help Please! Pin
Rassman20-Nov-01 4:15
Rassman20-Nov-01 4:15 
GeneralRe: CTreeCtrl Help Please! Pin
Vu Nguyen20-Nov-01 7:02
Vu Nguyen20-Nov-01 7:02 
Hi There!

Thank you for your help. The problem I have is different. I have a tree structure in the background. I then use SetItemData() to hook each node to a node in my backGround tree. When a node of CTreeCtrl is clicked, I display the coresponding node data in my backGround Tree. In the OnClick() event, I need to get the handle to the node that is selected. The problem I am having is that getSelectedItem() returns NULL at the beginning. After a few clicks, it seems to give me correct handle. I don't know if the search process is too slow or because the SetItemData screw me up. Do you have any clue?

Thanks

Vu

vucsuf
GeneralRe: CTreeCtrl Help Please! Pin
Rassman21-Nov-01 2:11
Rassman21-Nov-01 2:11 
QuestionChanging scrollbar colors? Pin
Jim A. Johnson19-Nov-01 12:55
Jim A. Johnson19-Nov-01 12:55 
AnswerRe: Changing scrollbar colors? Pin
Bernhard19-Nov-01 23:32
Bernhard19-Nov-01 23:32 
GeneralRe: Changing scrollbar colors? Pin
Jim A. Johnson20-Nov-01 10:13
Jim A. Johnson20-Nov-01 10:13 
GeneralRe: Changing scrollbar colors? Pin
Bernhard20-Nov-01 19:22
Bernhard20-Nov-01 19:22 
GeneralNews: Ultimate Grid for MFC 5.0 released today Pin
Ed Worsfold19-Nov-01 11:45
Ed Worsfold19-Nov-01 11:45 
QuestionHow can I lock up my application? Pin
Cathy19-Nov-01 11:28
Cathy19-Nov-01 11:28 
AnswerRe: How can I lock up my application? Pin
Anna-Jayne Metcalfe19-Nov-01 12:12
Anna-Jayne Metcalfe19-Nov-01 12:12 
GeneralRe: How can I lock up my application? Pin
Cathy19-Nov-01 12:29
Cathy19-Nov-01 12:29 
GeneralRe: How can I lock up my application? Pin
Nish Nishant19-Nov-01 13:03
sitebuilderNish Nishant19-Nov-01 13:03 
GeneralRe: How can I lock up my application? Pin
Anna-Jayne Metcalfe19-Nov-01 22:56
Anna-Jayne Metcalfe19-Nov-01 22:56 
GeneralRe: How can I lock up my application? Pin
Anna-Jayne Metcalfe19-Nov-01 22:52
Anna-Jayne Metcalfe19-Nov-01 22:52 
Generalc++ and database Pin
19-Nov-01 10:38
suss19-Nov-01 10:38 
GeneralMain Dialog & TabPage Pin
XAlien19-Nov-01 10:36
XAlien19-Nov-01 10:36 
GeneralRe: Main Dialog & TabPage Pin
luckylourson19-Nov-01 21:32
luckylourson19-Nov-01 21:32 
GeneralProblems selecting correct override Pin
Bill Wilson19-Nov-01 10:22
Bill Wilson19-Nov-01 10:22 
GeneralProblem solved, feeling stupid Pin
Bill Wilson19-Nov-01 11:19
Bill Wilson19-Nov-01 11:19 

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.