Handle the treeview's mousedown event, and if it is the right-click, then explicitly set focus to th enode under the click.