http://bugs.winehq.org/show_bug.cgi?id=25082
--- Comment #13 from Daniel Jelinski djelinski1@gmail.com 2013-01-27 23:43:10 CST --- Well, this should also work for these bugs. In order to be correct the code would have to take return value from NM_RCLICK into account. notify_click returns an information if the listview window still exists.
That return value is a huge pain. It was introduced by commit c0b79e0b055a0093ab1c2c129c593d74e51d3709, which was a hack intended to fix bug 3366, which was most likely a bug in comdlg. That hack is most likely not needed by any other application. Now there are multiple notify functions, and some return the result of SendMessage, others return the result of IsWindow, and you have to check each time. Do you think we could get rid of that IsWindow mess?