Rein Klazes
251c26e0f9
user32: Handle WM_PRINTCLIENT message in PopupMenuWndProc().
2009-08-18 16:14:51 +02:00
Rein Klazes
06b99c62c2
user32: Fix a bug in computing the maximum depth of a branch in a menu hierarchy.
...
It was computing the number of submenus in the branch, rather then the
maximum depth.
2009-08-12 12:53:42 +02:00
Rein Klazes
c18cd1b46f
user32: When all items in a menu have either a bitmap or text but not both, then texts should be aligned with the bitmaps.
2009-08-03 17:39:22 +02:00
Rein Klazes
38dbe067c3
user32: Fail if inserting a submenu would create a loop in the menu hierarchy.
2009-07-24 13:11:10 +02:00
Rein Klazes
50cfcffd32
user32: Get rid of internal function MENU_SetItemData, use SetMenuItemInfo_common instead.
2009-07-23 15:35:23 +02:00
Rein Klazes
9555171044
user32: When setting a menu item, handle MIIM_TYPE flag by setting approriate MIIM_BITMAP, MIIM_FTYPE and MIIM_STRING flags.
2009-07-23 15:34:03 +02:00
Rein Klazes
e9f4c6bb02
user32: Put some repeated code for checking and extending of a MENUITEMINFO structure in a separate function.
2009-07-23 15:31:18 +02:00
Rein Klazes
c2ada64097
user32: Ignore the MFT_BITMAP flag when testing menu items for 'magic' bitmap handles.
2009-07-20 14:19:46 +02:00
Rein Klazes
e861d8be43
user32: Fix for the ending of menu tracking in the default handler of WM_CANCELMODE message with test.
2009-04-03 13:25:31 +02:00
Rein Klazes
d75b0cdc98
user32: In MENU_SuspendPopup() make sure the right message is removed.
2009-03-25 12:39:10 +01:00
Rein Klazes
366334c2fa
user32: Check for invalid menu handle passed to TrackPopupMenu and TrackPopupMenuEx.
2009-03-06 12:49:04 +01:00
Alexandre Julliard
d387cf3251
user32: Use MAKEWPARAM instead of MAKELONG for menu messages.
2009-03-03 13:20:21 +01:00
Rein Klazes
5c130c813a
user32: MENU_TrackMenu, called from TrackPopupMenu(), should send WM_ENTERIDLE message with the menu window handle as lparam with test.
2009-03-02 15:06:57 +01:00
Michael Stefaniuc
214b40b109
user32: Remove superfluous pointer casts.
2009-03-02 12:11:38 +01:00
Rein Klazes
471e949cff
user32: In SetMenuInfo() implement the MIM_APPLYTOSUBMENUS. Also set last error if called with invalid parameters with tests.
2009-02-27 14:16:23 +01:00
Rein Klazes
bdb770e10e
user32: Refine the size calculations for menu items with HBMMENU_POPUP magic bitmaps with some conformance tests.
2009-02-25 12:36:51 +01:00
Rein Klazes
0c6e37bb04
user32: Implement support for HBMENU_POPUP_* magic menu bitmaps and use them to decorate the system menu.
2009-02-20 18:46:03 +01:00
Alexandre Julliard
7d657ed8f4
user32: Make sure the submenu is valid in MENU_HideSubPopups.
2009-01-26 15:09:07 +01:00
Alexandre Julliard
f12c5bfca3
user32: Use a finally handler to make sure capture is always released when exiting the menu loop.
2009-01-26 15:08:49 +01:00
Andrew Talbot
b5081dacc0
user32: Sign-compare warnings fix.
2008-12-16 14:27:50 +01:00
Paul Vriens
80d3604947
user32/tests: Set last error if the menu item cannot be found.
2008-11-07 13:34:18 +01:00
Alexandre Julliard
5d9d8f854f
user32: Convert source files to utf-8.
2008-10-18 19:21:00 +02:00
Vincent Povirk
3c4f44d1af
user32: Use the correct bitmap location for MNS_CHECKORBMP.
2008-09-08 12:49:12 +02:00
Vincent Povirk
743b5730f5
user32: Implement TPM_*ALIGN flags.
2008-08-20 12:44:36 +02:00
Dan Hipschman
50b98a2946
user32: Redefine internal pop-up tracking flags to avoid conflicts.
...
These internal flags conflict with the Win32 API flags TPM_RECURSE,
TPM_RIGHTBUTTON, and TPM_CENTERALIGN respectively, which are all stored
in the same flag UINT.
2008-06-27 11:10:27 +02:00
Dmitry Timoshkov
bbd8ae4322
user32: Add a test for MNS_NOTIFYBYPOS, make it pass under Wine.
2008-06-18 15:21:49 +02:00
Igor Tarasov
356c47e89e
user32: Further implementation of MNS_NOTIFYBYPOS.
2008-05-28 11:30:01 +02:00
Andrew Talbot
d8ce2207b8
user32: Remove unused variables.
2008-04-30 10:25:35 +02:00
Alexandre Julliard
eb857aebeb
user32: Moved the menu activation hack on managed windows to the X11 driver.
2008-04-10 16:41:26 +02:00
Alexandre Julliard
635544e20f
user32: Make sure we set menu capture to a window that is visible.
2008-03-24 17:59:58 +01:00
Alexandre Julliard
4e129f88d0
user32: Add a helper function to set the capture window.
2008-03-12 14:54:03 +01:00
Bang Jun-young
9fcebb0055
user32: Fix EndMenu() to match the PSDK.
2008-02-04 14:18:20 +01:00
Alexandre Julliard
4a753f90cf
user32: Menus should be top-most windows.
2008-01-23 21:42:46 +01:00
Andrew Talbot
f394970edb
user32: Constify some variables.
2007-11-26 12:27:14 +01:00
Alexandre Julliard
6ff78347e2
user32: Remove a few traces that only duplicate the relay information.
2007-11-12 14:03:45 +01:00
Dmitry Timoshkov
5722660758
user32: Simplify some code.
2007-11-09 13:10:34 +01:00
Alexandre Julliard
bfe88a00f8
user32: Store the builtin class names in Unicode.
2007-11-01 12:55:00 +01:00
Jason Edmeades
902a384b38
user32: Fix regression in alt, then right processing with eg wines notepad.
2007-08-13 12:00:36 +02:00
Jason Edmeades
76943c2a41
user32: Allow alt+space to highlight system menu.
2007-08-13 12:00:22 +02:00
Jason Edmeades
39d615eeed
user32: Skip system menu entries when using keyboard.
2007-08-09 15:02:38 +02:00
Dmitry Timoshkov
4d8f84cbdd
user32: When inserting a menu item make sure that MDI system buttons stay on the right side.
2007-06-20 15:10:58 +02:00
Dmitry Timoshkov
79de98f982
user32: Insert menu item only after contents of the passed in menu item info have been verified.
2007-06-19 11:59:07 +02:00
Dmitry Timoshkov
9a295e7f87
user32: Fix some compilation warnings in 64-bit mode.
2007-05-30 13:24:27 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Dmitry Timoshkov
4de936e181
user32: Remove duplicated code.
2007-05-16 15:51:31 +02:00
Dmitry Timoshkov
34015b93a4
user32: Add a test for the menu resource loader, make it pass under Wine.
2007-05-15 12:28:17 +02:00
Dmitry Timoshkov
7f189eccb9
user32: Add a test for CheckMenuRadioItem and make it pass under Wine.
2007-05-15 12:28:03 +02:00
Kevin Koltzau
069f5b90ae
user32: Draw menu item bitmaps in the correct location when the scroll arrows are active.
2007-04-27 11:49:01 +02:00
Andrew Talbot
48d740855e
user32: Replace inline static with static inline.
2007-03-17 20:04:08 +01:00
Andrew Talbot
29c66df45b
user32: Declare some functions static.
2007-02-05 12:32:37 +01:00