Commit Graph

263 Commits

Author SHA1 Message Date
Adam Gundy 6199e6029a Allow modifying a menu string to be NULL. 2003-03-07 23:03:27 +00:00
Tony Lambregts 6dc4cb4b7a Janitorial. Get rid of W->A call. 2003-03-04 02:14:58 +00:00
Alexandre Julliard 27fba89d03 Removed flag checks in SetMenuItemInfoA, NT doesn't do this. 2003-01-16 01:17:34 +00:00
Mike Hearn ac8e75284a Fail SetMenuItemInfo if both MFT_BITMAP and MFT_SEPARATOR are
specified (an api violation).
2003-01-15 00:51:38 +00:00
Robert Shearman 9caa6bafc0 Move internal implementation into the exported function
DrawMenuBarTemp.
2003-01-14 19:28:49 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alberto Massari 3d60c63adf Set the ODS_DISABLED bit when the item is grayed. 2002-12-17 04:16:31 +00:00
Alexandre Julliard 101c430957 Fixed use of HBMMENU_* in switch statements. 2002-11-22 22:25:59 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Alexandre Julliard 7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Chris Morgan 36595828c3 Remove ERR() if menu entry isn't of type MF_STRING as some
applications set flags of MT_SEPARATOR and erroneous errors are
produced.  Add a couple of comments.
2002-11-06 21:57:50 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Michael Stefaniuc 61d92562b9 Silence some warnings due to casts between pointer and integers of
different size.
2002-10-19 00:52:55 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard a9e8f59c95 Moved mouse capture handling into the server. 2002-10-12 01:24:37 +00:00
Alexandre Julliard 034cacb79c Remove clearing of the window menu id for now. This will need more
work.
2002-09-17 18:40:39 +00:00
Andreas Mohr 8578f01960 Make sure we clear the owning window's hMenu in DestroyMenu(). 2002-08-28 23:31:56 +00:00
Michael Stefaniuc 4a75c5c6ea Convert HACCEL to a void*. 2002-08-28 00:39:39 +00:00
Andreas Mohr 957f1f98ef Only allow tabs in popup menus, and make sure to never display them. 2002-06-04 23:08:16 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 4344c368cb Got rid of GetSysColorPen. 2002-05-20 18:15:28 +00:00
Alexandre Julliard 0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Rizsanyi Zsolt 0026d78ed8 Disabled catching of mouse move events when not over menu.
Changed MENU_SelectItem allow EndMenu to deselect the selected menu.
2002-05-09 01:14:35 +00:00
Dmitry Timoshkov 5076dbaabc Convert NULL menu items to separators. 2002-04-02 02:36:44 +00:00
Uwe Bonnes 6815f3a6fd MenuItemFromPoint: rough implementation. 2002-03-28 22:04:45 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Alexandre Julliard cc2d3826f1 Use DrawFrameControl instead of bitmaps in certain cases.
Moved remaining OEM bitmaps to user32 resources.
2002-01-03 02:35:23 +00:00
Andreas Mohr 6924967539 Fixed, added or implemented stubs:
- DrawMenuBarTemp(): corrected parameter count.
- CallCPLEntry16(): stub.
- SetSysColorsTemp(): fully implemented (hopefully) this undocumented
  function.
2001-12-26 20:34:12 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Alexandre Julliard b662e11a00 Moved scrollbar tracking code to scroll.c.
Avoid unnecessary coordinates conversion in NC_HandleSysCommand.
2001-10-16 21:52:26 +00:00
Francois Gouget 386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Alexandre Julliard d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +00:00
Alexandre Julliard b3ec03092f Added proper support for 32-bit WM_NEXTMENU. 2001-08-18 18:10:04 +00:00
Alexandre Julliard de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Alexandre Julliard bfb4a23aa9 Replaced MSG_InternalGetMessage calls by equivalent exported APIs. 2001-08-06 18:05:47 +00:00
Alexandre Julliard ef06b4a694 Got rid of HEAP_strdupW. 2001-07-22 23:08:10 +00:00
Gerard Patel 326b280efc Draw MenuBar in proper place (some cases). 2001-07-17 00:43:22 +00:00
Mike McCormack 34329cf58e GetMenuItemID: return -1 for invalid menu items, not zero. 2001-07-10 19:06:12 +00:00
Marcus Meissner 05aeaf1568 Add some argument validation to SetMenuItemInfoA, so QT5 does not
corrupt its menus.
2001-07-08 20:31:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Dmitry Timoshkov 56a19923e8 Replace some 16-bit calls by their 32-bit equivalents. 2001-07-02 01:21:26 +00:00
Patrik Stridvall 17fd4e3816 Documentation name fixes. 2001-06-28 18:04:41 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Ulrich Czekalla 18ce388db9 Fix menu behaviour when escape is pressed. 2001-05-18 23:20:20 +00:00
Gerard Patel 8f79fdc3fe Test if the menu is destroyed before displaying a menu item. 2001-05-14 19:20:13 +00:00
Alexandre Julliard e60ccd11d3 Create a new window for the top popup menu on every new menu tracking,
so that the window belongs to the right thread.
2001-05-11 20:05:42 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00