[Bug 12540] Favourites menu doesn't work as expected

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 21 16:14:22 CDT 2008


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





--- Comment #17 from Igor Tarasov <tarasov.igor at gmail.com>  2008-05-21 16:14:21 ---
Created an attachment (id=13224)
 --> (http://bugs.winehq.org/attachment.cgi?id=13224)
Test application

I've contacted developers and they've told that I need to write tests in order
to make this patch go into wine. Umm... I am not able to do this, since I have
no idea of how to do that.

But I was able to manage to write this small application. It allows you to
apply MNS_NOTIFYBYPOS style to various menus (throug settings menu) - to top
menu, to first and second. Also, you may click menu items and see what message
is being dispatched.

You'll notice, that if MNS_NOTIFYBYPOS is applied to topmenu, all menus and
submenus would return WM_MENUCOMMAND. But If MNS_NOTIFYBYPOS is not applied to
top menu and is applied to some menu having submenus, submenus won't be
affected by this.

Currently, wine ignores topmenu dwStyle value. But my patch works exactly as it
should - ideally copying native comctl32.dll behaviour. I don't know of any
other tests I could write.

I would like to ask wine developers not to ignore this message.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list