Click here to Skip to main content
15,919,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsome confuse about compatible DC and compatible Bitmap Pin
xtwgigu7-Aug-09 17:24
xtwgigu7-Aug-09 17:24 
AnswerRe: some confuse about compatible DC and compatible Bitmap Pin
Rozis9-Aug-09 8:41
Rozis9-Aug-09 8:41 
GeneralRe: some confuse about compatible DC and compatible Bitmap Pin
xtwgigu9-Aug-09 14:21
xtwgigu9-Aug-09 14:21 
QuestionChanging DefaultSecurity Settings on a New Folder. Pin
Bram van Kampen7-Aug-09 14:44
Bram van Kampen7-Aug-09 14:44 
Question[Message Deleted] Pin
transoft7-Aug-09 9:16
transoft7-Aug-09 9:16 
AnswerRe: C++ question Pin
David Crow7-Aug-09 9:44
David Crow7-Aug-09 9:44 
GeneralRe: C++ question Pin
transoft7-Aug-09 10:15
transoft7-Aug-09 10:15 
QuestionTVN_SELCHANGED double access Pin
Vaclav_7-Aug-09 5:53
Vaclav_7-Aug-09 5:53 
It appears that "standard" CTreeView message TVN_SELCHANGED is send twice - on mouse button down and mouse button up. In my initial case on key down I can retrieve the root node text and then on key up I get the selected node text.
Do I have to keep track of previous and current node myself or is there another way to get just the current selected node (text) ?

I tried to use TVN_SELCHANGING but despite the MSDN description of this message the   LPTSTR      pszText   item in NMTREEVIEW structure contains garbage and not the text info about the node.
Thanks for reading. Any constructive help as always is appreciated.
AnswerRe: TVN_SELCHANGED double access Pin
Le@rner7-Aug-09 19:14
Le@rner7-Aug-09 19:14 
GeneralRe: TVN_SELCHANGED double access [modified] Hacked to solve! Pin
Vaclav_8-Aug-09 12:16
Vaclav_8-Aug-09 12:16 
Questionstack,graphics Pin
kumarashoka7-Aug-09 5:46
kumarashoka7-Aug-09 5:46 
AnswerRe: stack,graphics Pin
harold aptroot7-Aug-09 6:01
harold aptroot7-Aug-09 6:01 
AnswerRe: stack,graphics Pin
Chris Losinger7-Aug-09 7:38
professionalChris Losinger7-Aug-09 7:38 
AnswerRe: stack,graphics Pin
David Crow7-Aug-09 9:36
David Crow7-Aug-09 9:36 
GeneralRe: stack,graphics Pin
Chris Losinger8-Aug-09 10:36
professionalChris Losinger8-Aug-09 10:36 
Questionpointer Pin
kumarashoka7-Aug-09 5:21
kumarashoka7-Aug-09 5:21 
AnswerRe: pointer Pin
Maximilien7-Aug-09 5:35
Maximilien7-Aug-09 5:35 
GeneralRe: pointer Pin
harold aptroot7-Aug-09 5:51
harold aptroot7-Aug-09 5:51 
QuestionHow to Place a Different Caption in the AfxMessageBox(,) MFC messagebox Pin
Larry Mills Sr7-Aug-09 4:59
Larry Mills Sr7-Aug-09 4:59 
AnswerRe: How to Place a Different Caption in the AfxMessageBox(,) MFC messagebox Pin
Randor 7-Aug-09 6:46
professional Randor 7-Aug-09 6:46 
GeneralRe: How to Place a Different Caption in the AfxMessageBox(,) MFC messagebox Pin
Larry Mills Sr7-Aug-09 8:22
Larry Mills Sr7-Aug-09 8:22 
QuestionSendInput API is a mess indeed Pin
Madhu_Rani7-Aug-09 4:39
Madhu_Rani7-Aug-09 4:39 
AnswerRe: SendInput API is a mess indeed Pin
jeron17-Aug-09 4:44
jeron17-Aug-09 4:44 
GeneralRe: SendInput API is a mess indeed Pin
Madhu_Rani7-Aug-09 4:53
Madhu_Rani7-Aug-09 4:53 
QuestionCMapStringToOb works slow Pin
rkata7-Aug-09 3:29
rkata7-Aug-09 3:29 

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.