Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am having a tree control where I am doing some stuff.The Tree control consists of a Root node
and that root node consists of one child node inturn this child node consists of 3 nodes.
This treecontrol is on a propertypage and in this after I click on any of the checkbox I am
enabling the wizard buttons.And in the event handler to TVN_ITEMCHANGED I enabled the sheet
buttons.

When I had run my application and after checking a node of treecontrol I am not able to enable the
sheet buttons.I had seen the code is absolutely fine where I am checking the check state of the node
and enabling the sheet buttons.I started debugging my code and first it was NM_CLICK is getting fired
and then I was expecting the TVN_ITEMCHANGED event to get fired but it is not at all getting fired.

I have no idea why this event is not getting fired.And the environment I am using is WindowsXP.

I had run my application on windows7 ,windows 8,windows vista.There it is working as expected,but in XP only
I figured out this behaviour.

Can anyone please help me to get this problem resolved.
Posted

1 solution

See http://msdn.microsoft.com/en-us/library/windows/desktop/bb773526(v=vs.85).aspx[^], this is not supported on Windows XP. Information that is quite easy to find.
 
Share this answer
 
Comments
RajaPratap 7-Nov-14 6:53am    
Isn't a way exist to do this.Or do we similar king of event where we can handle all the code that we are handling in this event handler.
Richard MacCutchan 7-Nov-14 7:17am    
You will have to look through the notifications to see which of the others to use.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900