[Bug 1848] New: User32 - TrackPopupMenu returns wrong results

Wine Bugs wine-bugs at winehq.com
Fri Nov 21 08:03:58 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1848

           Summary: User32 - TrackPopupMenu returns wrong results
           Product: Wine
           Version: unspecified
          Platform: PC
               URL: http://www.apis.de
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-gui
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: andy at rosen-berg.de


Within Windows TrackPopupMenu returns true, if the user clicks outside of the 
menu (the menu disappears - menu is being canceled). With WINE the 
TrackPopupMenu returns false in such a case, which should indicate the API call 
has failed (which hasn't). Calling GetLastError gives you a weird error (usually 
access denied). The problem lies in controls/menu.c. It should only return 
false, if the wine server call failed.

-- 
Configure bugmail: http://bugs.winehq.com/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