Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CStatic derived class Pin
Mircea Puiu20-Oct-05 5:36
Mircea Puiu20-Oct-05 5:36 
GeneralRe: CStatic derived class Pin
cedric_craze20-Oct-05 5:48
cedric_craze20-Oct-05 5:48 
Questionwriting an xml file. Pin
swaapu20-Oct-05 1:47
swaapu20-Oct-05 1:47 
AnswerRe: writing an xml file. Pin
sunit520-Oct-05 2:45
sunit520-Oct-05 2:45 
QuestionRe: writing an xml file. Pin
David Crow20-Oct-05 4:35
David Crow20-Oct-05 4:35 
AnswerRe: writing an xml file. Pin
sunit520-Oct-05 5:34
sunit520-Oct-05 5:34 
AnswerRe: writing an xml file. Pin
ThatsAlok20-Oct-05 19:23
ThatsAlok20-Oct-05 19:23 
Questionduplicate nodes in tree view control Pin
QuickDeveloper20-Oct-05 1:45
QuickDeveloper20-Oct-05 1:45 
hi
I have TreeView Application which which appends tree nodes to the root at run time.the problem is that when v left click on the tree node label during run time it gets replicated.
eg: RootNode
--->sample1(these nodes are generated at run time)
--->sample2
......

if v click on sample2(eg) at run time it displays as follows
Rootnode
-->sample1
--->sample2
--->sample2
--->sample2
--->sample3
this problem occurs randomly without any particular series.


the code is as follows:

void CJobTreeCtrl::ProcessLeftBtnSelect(HTREEITEM mhtvClicked_Item, UINT nFlags, CPoint point)
{
SetFocus();

mhtvitmclicked = mhtvClicked_Item;


if (GetItemState(mhtvClicked_Item, TVIS_SELECTED) & TVIS_SELECTED)
{
mblnIsSelectPending = true;
mpntClick = point;
}
else
{
SelectMultiple(mhtvClicked_Item, nFlags);
mblnIsSelectPending = false;
}
}

how to rectify this


Thanx in advance



AnswerRe: duplicate nodes in tree view control Pin
PJ Arends20-Oct-05 11:25
professionalPJ Arends20-Oct-05 11:25 
GeneralRe: duplicate nodes in tree view control Pin
QuickDeveloper20-Oct-05 22:43
QuickDeveloper20-Oct-05 22:43 
GeneralRe: duplicate nodes in tree view control Pin
PJ Arends20-Oct-05 23:16
professionalPJ Arends20-Oct-05 23:16 
GeneralRe: duplicate nodes in tree view control Pin
QuickDeveloper21-Oct-05 0:34
QuickDeveloper21-Oct-05 0:34 
GeneralRe: duplicate nodes in tree view control Pin
PJ Arends21-Oct-05 7:54
professionalPJ Arends21-Oct-05 7:54 
QuestionHow to make scrolling marquee ? Pin
Amarelia20-Oct-05 1:45
Amarelia20-Oct-05 1:45 
AnswerRe: How to make scrolling marquee ? Pin
Mircea Puiu20-Oct-05 4:30
Mircea Puiu20-Oct-05 4:30 
AnswerRe: How to make scrolling marquee ? Pin
PJ Arends20-Oct-05 11:29
professionalPJ Arends20-Oct-05 11:29 
Questiondsw NOT OPENING !!!! Pin
dharani20-Oct-05 1:40
dharani20-Oct-05 1:40 
AnswerRe: dsw NOT OPENING !!!! Pin
John M. Drescher20-Oct-05 14:40
John M. Drescher20-Oct-05 14:40 
QuestionRestart pc during winlogon Pin
Girish60120-Oct-05 0:56
Girish60120-Oct-05 0:56 
AnswerRe: Restart pc during winlogon Pin
toxcct20-Oct-05 1:15
toxcct20-Oct-05 1:15 
QuestionRe: Restart pc during winlogon Pin
David Crow20-Oct-05 4:36
David Crow20-Oct-05 4:36 
AnswerRe: Restart pc during winlogon Pin
Cedric Moonen20-Oct-05 5:42
Cedric Moonen20-Oct-05 5:42 
AnswerRe: Restart pc during winlogon Pin
John M. Drescher20-Oct-05 7:54
John M. Drescher20-Oct-05 7:54 
QuestionWindows Message Naming Conventions Pin
QuickDeveloper20-Oct-05 0:28
QuickDeveloper20-Oct-05 0:28 
AnswerRe: Windows Message Naming Conventions Pin
S Douglas20-Oct-05 0:45
professionalS Douglas20-Oct-05 0:45 

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.