Alexandre Julliard
396ff0007c
user: Use a winproc callback instead of a message map/unmap in SendMessageTimeoutA.
2006-05-20 16:31:27 +02:00
Alexandre Julliard
521ea482aa
user: Store the destination thread id in the send_message_info structure.
2006-05-20 16:30:55 +02:00
Eric Pouech
b980bbec17
user32: Allow interprocess WM_NCPAINT messages when wParam is 0 or 1.
2006-05-18 10:47:23 +02:00
Alexandre Julliard
0667292eb5
user: Support storing multiple winprocs in a single winproc handle.
...
Allows to remove special cases for window classes being Ascii and
Unicode at the same time.
2006-05-17 13:55:36 +02:00
Alexandre Julliard
a9e5e94b0d
user: Replace WINDOWPROCTYPE by a unicode flag in WINPROC_GetProc/AllocProc.
2006-05-10 13:20:34 +02:00
Alexandre Julliard
6280ab29e6
user: Only wait for sent messages in wait_message_reply.
2006-03-30 16:23:56 +02:00
Alexandre Julliard
4d3282a5fb
user: Don't send WM_PARENTNOTIFY to the desktop window.
2006-03-30 13:22:27 +02:00
Alexandre Julliard
a32b3e86ec
user: Support packing/unpacking the WM_DEVICECHANGE message.
2006-03-09 22:48:37 +01:00
Alexandre Julliard
70d42f9d43
user: Allow some Wine internal messages to act on the desktop window.
2006-03-06 12:37:13 +01:00
Francois Gouget
feb153c649
user32: 0 vs. INFINITE timeout.
...
It is 0 that denotes an infinite timeout for the wine server now, not
-1 (INFINITE).
Document put_message_in_queue()'s check for INFINITE (done for
backwards compatibility with Windows 9x).
2006-02-24 21:06:50 +01:00
Michael Kaufmann
fd71ef1bfa
user: Remove internal messages from the message queue before handling them.
2006-01-30 18:15:52 +01:00
Robert Shearman
a40ce39340
user: Fix WM_QUIT message ordering from PostQuitMessage.
...
Added a new server call as PostQuitMessage should set a flag in the
message queue to return the WM_QUIT message when there are no other
pending messages, rather than posting a message to the thread queue as
it does at the moment.
2006-01-17 13:14:31 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Markus Amsler
86b6749208
Improve c2man Documented-Total count. Changes:
...
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-09 10:33:40 +00:00
Dmitry Timoshkov
26b40c296f
Add some missing USER definitions, add a couple of FIXMEs for not
...
implemented features.
2005-10-27 18:28:23 +00:00
Frank Richter
7686aa86e6
When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
...
obtain an exact length.
2005-10-18 10:45:18 +00:00
Alexandre Julliard
127127fd3b
Timeout 0 means infinite wait for SendMessageTimeout.
...
Remove the message from the receiver queue if it times out before
being received.
2005-09-13 14:46:46 +00:00
Alexandre Julliard
ba41fe20bc
Fixed a few more pointer to integer typecast issues for 64-bit
...
platforms.
2005-09-12 21:22:32 +00:00
Alexandre Julliard
5a49e40149
SendMessageTimeout takes a DWORD_PTR not a DWORD.
2005-09-12 20:43:32 +00:00
Alexandre Julliard
c6b005ac69
Fixed some more traces to use the right printf format and avoid
...
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Jacek Caban
f4c4092fb5
Fix RegisterWindowMessage declaration and improve debug message.
2005-08-22 09:15:55 +00:00
Alexandre Julliard
caf18a640e
Set remove to TRUE in accept_hardware_message for messages that should
...
go to a different thread. Simplify the code a bit.
2005-08-11 10:36:03 +00:00
Phil Krylov
a8f4b16bd0
Translate the whole wparam to/from Unicode.
2005-07-26 15:55:42 +00:00
Alexandre Julliard
98c315c7c0
Save the scope window for mouse events before overwriting it.
2005-07-19 19:14:32 +00:00
Alexandre Julliard
15ec968724
Load the USER driver on demand instead of at user32 load time.
...
Provide a fallback implementation for all the functions to avoid
having to check for NULL functions everywhere.
2005-07-18 15:14:56 +00:00
Mike McCormack
c787b146e1
-Wpointer-sign fixes for gcc 4.0.
2005-07-06 10:36:28 +00:00
Dmitry Timoshkov
d3847e01b7
Update internal state only if the message is being removed.
2005-06-02 10:38:12 +00:00
Alexandre Julliard
63342353bc
Store a bitmap of active hooks on the client side to try to avoid
...
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Mike McCormack
abe70f7648
Implemented GetLastInputInfo.
2005-04-28 12:04:14 +00:00
Alexandre Julliard
6b4c02e57f
Moved remaining messaging definitions to user_private.h and removed
...
message.h.
2005-04-27 10:23:24 +00:00
Alexandre Julliard
86be9f20da
Removed the MESSAGEQUEUE structure, and store the corresponding
...
information directly in the TEB, in the Win32ClientInfo field.
2005-04-27 08:18:20 +00:00
Alexandre Julliard
b6f4eccdbd
Moved some messaging and input functions to message.c and input.c
...
respectively.
2005-04-26 08:18:47 +00:00
Alexandre Julliard
fc2bd2324e
Handle posted internal messages directly in PeekMessageW to avoid
...
having to return them to the application.
Call NtYieldExecution for nicer behavior when PM_NOYIELD is not
specified.
2005-04-20 18:53:53 +00:00
Alexandre Julliard
3e2f2a5265
Allow nested hardware message processing by storing a unique id in
...
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Kevin Koltzau
f4767f1424
Added full support for xbuttons (side mouse buttons).
2005-03-24 19:15:41 +00:00
Alexandre Julliard
039603c77d
Don't maintain a client-side WND structure for the desktop window.
...
Made WIN_GetPtr return WND_DESKTOP in that case.
2005-03-24 15:18:50 +00:00
Alexandre Julliard
04881fae7a
Get rid of the window lock suspend mechanism.
2005-03-23 13:18:51 +00:00
Alexandre Julliard
0bc8377bc2
Create a new server request for accepting hardware messages instead of
...
abusing reply_message.
Allow passing the determined window for a hardware message back to the
server to have it redispatch the message to the correct thread.
2005-03-23 10:33:17 +00:00
Alexandre Julliard
564915eadc
Simplify hardware message processing by merging the "raw" and "cooked"
...
processing into a single function.
2005-03-22 21:48:40 +00:00
Peter Berg Larsen
25a6663243
Assorted memleak fixes. Found on Michael Stefaniuc smatch list.
2005-03-14 17:13:44 +00:00
Alexandre Julliard
b9a9de6eb9
Clear the internal paint flag in the server before returning a
...
WM_PAINT message to avoid an extra server round-trip.
2005-03-10 17:19:33 +00:00
Alexandre Julliard
85c81bf419
Merge the rest of the messaging code into dlls/user/message.c and get
...
rid of windows/message.c.
2005-03-10 15:47:53 +00:00
Alexandre Julliard
99615021fb
Properly cope with get_message being called recursively while
...
processing a hardware message.
2005-03-10 11:52:25 +00:00
Alexandre Julliard
7b738b7f8c
Make sure to always pass valid QS_* flags to
...
MsgWaitForMultipleObjects.
2005-03-08 17:00:38 +00:00
Alexandre Julliard
97d6e7fd3d
Moved TranslateMessage and DispatchMessage to dlls/user/message.c.
...
Added support for posting internal messages.
Added support for driver-specific internal messages.
2005-03-07 17:19:24 +00:00
Ulrich Czekalla
687679cd90
Print out error message if we fail to remove message from queue.
2005-03-07 10:58:00 +00:00
Alexandre Julliard
85d14279a5
Support sending WM_PAINT across processes when it doesn't contain an
...
HDC.
2005-03-04 10:50:22 +00:00
Dmitry Timoshkov
6dba0a7718
Add support for winevent hooks.
2005-02-03 16:40:20 +00:00
Vitaly Lipatov
386cf457c9
Added handling of SBM_GETSCROLLBARINFO message.
2005-01-09 16:35:41 +00:00