http://bugs.winehq.org/show_bug.cgi?id=14606
Summary: TreeView + right click doesn't work the way it does in native windows Product: Wine Version: 1.1.1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: lists@andree.sk
Hi,
in the real windows, when one presses right button over treeview 'widget', the item under cursor gets temporarily selected - this enables simple context menu showing (unless it's done this way, one has to manually determine, which item is placed on the cursor position - which, i guess, not all apps are doing) :
it should probably go like this: right click => appropriate treeview item selected => NM_RCLICK notification message to window => windows can use TreeView_GetSelection() :-)
after the right button is released, the previously selected item gets selected again on win32 - as far as I can tell :-)