Module: wine Branch: refs/heads/master Commit: 9f07bcd25ff60697818c656e9189bafa70a42c39 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9f07bcd25ff60697818c656e...
Author: Michael Kaufmann hallo@michael-kaufmann.ch Date: Tue Aug 8 23:22:50 2006 +0200
user: Accept more flags in SetMenuItemInfo and ModifyMenu.
- Accept MFT_MENU{BAR}BREAK, MFT_RADIOCHECK, MFT_RIGHTJUSTIFY, and MFT_RIGHTORDER in SetMenuItemInfo. - InsertMenu, AppendMenu, ModifiyMenu: Accept MF_HILITE flag (undocumented). - SetMenuItemInfo: Only use the lower word of the bitmap handle as documented in MSDN (Word 95 depends on this). - The type MFT_RADIOCHECK cannot be set if only the checkmarks are modified with SetMenuItemInfo. - New tests.
---
dlls/user/menu.c | 52 +++++++++------- dlls/user/tests/menu.c | 160 +++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 187 insertions(+), 25 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=9f07bcd25ff60697818c...