In my TreeView control...

I used ClassWizard to connect the WM_RBUTTONUP to the Member function OnRButtonUp. The problem with this is that it only occurs when I double right click OR when I move the cursor while the right mouse button is down. I want to add a popup menu where I right-clicked and get the hItem that was clicked.

Any help would be appreciated,

WDW