Commit Graph

159 Commits

Author SHA1 Message Date
Karl Lessard
4a0a7df6a3 When a popupmenu is currently active on the screen, it shouldn't
remove mouse click messages that don't belong to it from the queue.
1999-11-07 05:17:10 +00:00
Pierre Mageau
891d4d22a7 Fixed loop with WM_SYSCHAR. 1999-10-23 20:05:04 +00:00
Juergen Schmied
371c420549 Made TrackPopupMenu with TPM_RETURNCMD returning the id instead of
true.
1999-10-13 12:27:44 +00:00
Karl Lessard
13409b32cd Make ExecFocusedItem return -1 on failure. 1999-09-28 16:24:58 +00:00
Gerard Patel
6df0694f7c Force recalculation of menu when calling InsertMenuItem. 1999-09-28 13:05:54 +00:00
Abey George
b59d4bc503 Don't send WM_ENTERMENULOOP, WM_INITMENU & WM_INITMENUPOPUP messages
when TPM_NONOTIFY flag is set in TrackPopupMenu.
1999-09-22 15:10:42 +00:00
Pascal Lessard
445c910e89 Message removed when menu tracking finish on a WM_LBUTTONDOWN. 1999-09-20 18:27:14 +00:00
Dennis Björklund
4352c7a9d0 Send correct WM_MENUSELECT when menu closes. 1999-09-19 18:28:35 +00:00
Richard Cohen
56753621d3 Protect SetMenu from rogue menu handle.
GetMenu16 can just call GetMenu.
1999-09-19 14:08:13 +00:00
Pascal Lessard
07c447f971 Added a case for menu handling in win31. 1999-09-19 12:03:25 +00:00
Eric Pouech
0c62bf064d Added MenuItemFromPoint stub. 1999-09-13 15:11:35 +00:00
Pascal Lessard
2eb0a302a0 Menu hides when clicked for a second time. 1999-09-03 16:38:52 +00:00
Stephane Lussier
a833f63783 Avoid changing the activation state in EnableMenuItem. 1999-08-21 14:46:06 +00:00
Eric Pouech
562309adac Fixed crash when accessing sysmenu. 1999-08-21 12:59:44 +00:00
Francis Beaudet
7ed1af3df3 Ensure that the WM_ENTERIDLE message is not sent if the wake-up event
for the MSG_InternalGetMessage() call is a WM_TIMER.
1999-08-15 16:58:03 +00:00
Alexandre Julliard
15de615276 Got rid of dsprintf and related macros. 1999-08-04 12:22:42 +00:00
Pascal Lessard
d814bb657a Implemented the system button behavior and associated it to the system
menu in win95. Also permit the SC_CLOSE item to be disabled.
1999-07-31 13:02:02 +00:00
Patrik Stridvall
1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Noomen Hamza
46c4d39853 Remove the WM_LBUTTONUP message from the queue after selecting a mouse
menu item.
1999-06-26 10:14:27 +00:00
Patrik Stridvall
4bf335497d Removed direct references to CLASS internals. 1999-06-12 14:52:15 +00:00
Eric Pouech
dfed208e90 When looking into sys menu, check if items are present before
dereferencing.
1999-06-05 11:43:50 +00:00
Pascal Lessard
d9ab1f3f1c Support TPM_RETURNCMD in TrackPopupMenu. 1999-05-29 10:56:43 +00:00
Marcus Meissner
ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Alexandre Julliard
9fe7a2545a Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-14 08:17:14 +00:00
Juergen Schmied
4925186bb2 - prevent crash when GetMenuDefaultItem is called on empty menu
- set default item on system menu
1999-05-13 18:42:03 +00:00
Patrik Stridvall
1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Juergen Schmied
466a65205b - default item handling
- small drawing fixes
1999-05-02 11:21:08 +00:00
Juergen Schmied
cd0ed1e6b9 - align magic buttons right
- shortcuts alignment working again
1999-04-26 14:54:38 +00:00
Bertho Stultiens
d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Patrik Stridvall
0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Juergen Schmied
c77fd5b322 - protect TRACE against NULL-ptr
- rewrote GetMenuItemID/GetSubMenu to use MENU_FindItem (hmenu=0xffff fix).
1999-04-21 14:27:37 +00:00
Patrik Stridvall
b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Juergen Schmied
7851394159 - use fonts/fontsizes given by SystemParametersInfo
- drawing/alignment fixes, win98 style for menubar
- ownerdrawn menus are working now for the first time
- complete constants magic items
- use right owner for popupmenus
- new: Get/SetMenuInfo
- implemented: Get/SetMenuContextHelpId
- more flags for Get/SetMenuItemInfo
1999-04-18 14:40:32 +00:00
Juergen Schmied
7abca950e3 The MEASUREITEMSTRUCT and DRAWITEMSTRUCT were filled wrong. 1999-04-11 17:02:30 +00:00
Paul Millar
39da222b19 Fixed menu type setting in SetMenuItemInfo32_common(). 1999-04-11 12:08:42 +00:00
Alex Korobka
44a1b59cec Fixes for ignored WVR_[VH]REDRAW flags, made minimization in managed
mode go through window manager, small bugfixes for menu and window
code, extended clipboard driver model to handle formats other than
text.
1999-04-01 12:03:52 +00:00
Dimitrie O. Paun
05c0c8ef13 Changed some debug messages from one channel to another, to clean up a
bit the debug channel usage.
1999-03-28 15:07:41 +00:00
Francois Boisvert
3a3cd9fab1 Fixed some bugs in thread safeness for wnd struct. 1999-03-28 12:42:52 +00:00
Alex Korobka
4f1ac05dea Moved hrgnUpdate from client to window coordinates, made nonclient
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Marcus Meissner
ac593bbd41 Fixed some warnings. removed some unneccessary includes, removed one
direct WND* access in controls/menu.c.
1999-03-17 15:18:28 +00:00
Francois Boisvert
6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Marcus Meissner
de43ef45ec Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +00:00
Marcus Meissner
064f170f76 More include optimisations and fixes. 1999-02-28 19:14:33 +00:00
Alexandre Julliard
a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Michael Veksler
3fbb8dc829 - Fix headers to include less or smaller header files.
- Fix header and source files to include missing header files to avoid
  warnings and errors.
1999-02-21 18:23:26 +00:00
Francois Boisvert
308c6afe62 Implementation of the pushed close button. 1999-02-18 10:37:17 +00:00
Francois Boisvert
85dd9fcab7 Give the context menu its proper behaviour and modify TrackPopupMenu
to comply with windows API.
1999-02-17 12:50:11 +00:00
Pascal Lessard
4727423f30 Change the GetMenuItemRect to comply with windows API. 1999-02-13 12:21:46 +00:00
Francois Boisvert
197a8e163e Implemented the WIN31 Look mdi buttons and also some defines for the
magic menu items.
1999-02-13 09:10:17 +00:00
Stephane Lussier
b3a99de50d -Fixed MESSAGE functions that were thunking down to 16 bits implementation.
So PeekMessage32, GetMessage32, PostMessage32, PostThreadMessage are fixed
with this patch. Unicode version of those functions is currently only
calling the ASCII version.
-Fixed queue signaling using a new EVENT object in the queue for 32 bits
thread. MsgWaitForMultipleObject has been fixed and is now blocking on the
right EVENT.
1999-02-09 15:35:12 +00:00