Click here to Skip to main content
15,916,458 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Linking advapi32.lib Pin
Blake Miller15-Sep-05 4:34
Blake Miller15-Sep-05 4:34 
QuestionSaving configuration option data Pin
karmendra_js14-Sep-05 23:26
karmendra_js14-Sep-05 23:26 
AnswerRe: Saving configuration option data Pin
kakan14-Sep-05 23:44
professionalkakan14-Sep-05 23:44 
AnswerRe: Saving configuration option data Pin
Manfred Staiger14-Sep-05 23:46
Manfred Staiger14-Sep-05 23:46 
GeneralRe: Saving configuration option data Pin
karmendra_js15-Sep-05 0:15
karmendra_js15-Sep-05 0:15 
GeneralRe: Saving configuration option data Pin
Manfred Staiger15-Sep-05 0:23
Manfred Staiger15-Sep-05 0:23 
AnswerRe: Saving configuration option data Pin
ThatsAlok14-Sep-05 23:53
ThatsAlok14-Sep-05 23:53 
GeneralRe: Saving configuration option data Pin
karmendra_js15-Sep-05 0:25
karmendra_js15-Sep-05 0:25 
AnswerRe: Saving configuration option data Pin
ThatsAlok15-Sep-05 0:57
ThatsAlok15-Sep-05 0:57 
GeneralRe: Saving configuration option data Pin
David Crow15-Sep-05 7:41
David Crow15-Sep-05 7:41 
AnswerRe: Saving configuration option data Pin
Ashok Dhamija15-Sep-05 1:28
Ashok Dhamija15-Sep-05 1:28 
AnswerRe: Saving configuration option data Pin
Achim Klein15-Sep-05 8:52
Achim Klein15-Sep-05 8:52 
JokeRe: Saving configuration option data Pin
ThatsAlok15-Sep-05 18:06
ThatsAlok15-Sep-05 18:06 
QuestionUniCode To Ansi Conversion problem Pin
fjlv200514-Sep-05 23:24
fjlv200514-Sep-05 23:24 
AnswerRe: UniCode To Ansi Conversion problem Pin
Jack Puppy15-Sep-05 1:11
Jack Puppy15-Sep-05 1:11 
GeneralRe: UniCode To Ansi Conversion problem Pin
fjlv200515-Sep-05 15:58
fjlv200515-Sep-05 15:58 
Questionwarning for compiler option /GX Pin
logicaldna14-Sep-05 23:12
logicaldna14-Sep-05 23:12 
QuestionGPRS Pin
_tasleem14-Sep-05 23:11
_tasleem14-Sep-05 23:11 
AnswerRe: GPRS Pin
ThatsAlok15-Sep-05 18:09
ThatsAlok15-Sep-05 18:09 
QuestionHuffman Encoding Pin
edurach14-Sep-05 22:29
edurach14-Sep-05 22:29 
AnswerRe: Huffman Encoding Pin
Rage14-Sep-05 22:41
professionalRage14-Sep-05 22:41 
QuestionSimulate post at webpage Pin
Daniel Strigl14-Sep-05 22:10
Daniel Strigl14-Sep-05 22:10 
QuestionRenaming Tree Nodes Pin
laiju14-Sep-05 20:41
laiju14-Sep-05 20:41 
I have used PreTranslate message to capture the renaming of Tree Nodes.
I am capturing the VK_RETURN key to complete the renaming of tree nodes.
But the tree control can also complete the rename operation by clicking the mouse anywhere on the tree control after typing the new string for the folder.
I dont want the rename to take place by mouse click. I know how to revert the old string of the tree node .But I dont know what event completed the rename operation .Like if i can differentiate the end of rename operation by mouse or by keyboard i can block the mouse rename operation.
I tried to do the following filter .

void CTreeCtrlBar::OnTvnEndlabeleditTree1(NMHDR *pNMHDR, LRESULT *pResult)
{
NM_TREEVIEW* pNMTreeView = (NM_TREEVIEW*)pNMHDR;
if (pNMTreeView->action == TVC_BYKEYBOARD)
AfxMessageBox("End by ENTER Key");
else if (pNMTreeView->action == TVC_BYMOUSE)
AfxMessageBox("End by mouse click");


**************************************************************************
But always the condition pNMTreeView->action == TVC_BYMOUSE gets satisfied
even when I pressed ENTER key to complete the rename operation.
Any suggestions please.

laiju
QuestionWhat is the Anotomy of Encarta? Pin
shoaibnawaz14-Sep-05 20:30
shoaibnawaz14-Sep-05 20:30 
AnswerRe: What is the Anotomy of Encarta? Pin
vikas amin14-Sep-05 21:36
vikas amin14-Sep-05 21:36 

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.