[Bug 2004] New: Bug In LVM_GETNEXTITEM(hWnd, -1, LVNI_FOCUSED | LVNI_SELECTED)

Wine Bugs wine-bugs at winehq.org
Mon Feb 9 12:56:54 CST 2004


http://bugs.winehq.org/show_bug.cgi?id=2004

           Summary: Bug In LVM_GETNEXTITEM(hWnd, -1, LVNI_FOCUSED |
                    LVNI_SELECTED)
           Product: Wine
           Version: CVS
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-gui
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: R.J.Shearman at warwick.ac.uk


When LVM_GETNEXTITEM(hWnd, -1, LVNI_FOCUSED | LVNI_SELECTED) is sent to the
ListView common control it should get the currently selected item if one is
selected or return -1.
However, after at least one item has been clicked on then the builtin version of
ListView always returns the last selected item regardless of if one is currently
selected.
A good test program is Wine's RegEdit. Simply right-click on a value in the
right-hand pane and then right-click on empty space. It should bring up the menu
with options to create new keys and values. However, it instead brings it the
menu with options like rename and delete as if you had right-clicked on a value.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list