Commit Graph

1305 Commits

Author SHA1 Message Date
Alexandre Julliard b73c5e895f user: Get rid of the MSGPARAMS16 structure. 2006-05-20 16:36:56 +02:00
Alexandre Julliard 917d03bd04 user: Make a lot of winproc functions static. 2006-05-20 16:36:52 +02:00
Alexandre Julliard ca570aade2 user: Call the A version of message functions from 16-bit code.
This avoids having to export too many different message translation
functions.
2006-05-20 16:35:44 +02:00
Alexandre Julliard dc61a4bc65 user: Use winproc callbacks instead of message map/unmap for 16-bit hooks. 2006-05-20 16:34:14 +02:00
Alexandre Julliard 58a03a103d user: Use winproc callbacks instead of message map/unmap in SendMessage16. 2006-05-20 16:32:45 +02:00
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
Alexandre Julliard 4316025294 user: Convert the 16-bit winproc functions to use a callback pointer. 2006-05-18 19:44:30 +02:00
Alexandre Julliard 6456317153 user: Convert the other winproc 32-bit functions to use a callback pointer. 2006-05-18 19:09:32 +02:00
Alexandre Julliard d1a5d5ae98 user: Make WINPROC_CallProc32WTo32A take a callback function pointer.
This way it doesn't need to know about dialog procedures. Also renamed
it to WINPROC_CallProcWtoA.
2006-05-18 18:05:01 +02:00
Alexandre Julliard c16ca72210 user: Fixed a broken trace in the dialog test. 2006-05-18 16:32:49 +02:00
Alexandre Julliard 2ff505c2cf user: Added helper functions for A<->W conversion of single characters. 2006-05-18 16:31:36 +02:00
Alexandre Julliard 3fe201c308 user: Simplify 16-bit mappings of the WM_GETDLGCODE message. 2006-05-18 16:30:56 +02:00
Alexandre Julliard 6efb68cb0e user: Unify the mapping of listbox and combobox messages. 2006-05-18 12:43:40 +02:00
Alexandre Julliard 7033649c4f user: Get rid of the WINPROC_MapMsg32WTo32A function. 2006-05-18 12:29:19 +02:00
Alexandre Julliard f6ba476d91 user: Added fast W->A mapping for WM_IME_CHAR. 2006-05-18 12:28:07 +02:00
Alexandre Julliard 6c4082df74 user: Added fast W->A mapping for WM_CHAR and related messages. 2006-05-18 12:27:27 +02:00
Alexandre Julliard dd442faa2e user: Added fast W->A mapping for EM_GETLINE. 2006-05-18 12:20:14 +02:00
Alexandre Julliard b34521c43d user: Added fast W->A mapping for LB_GETTEXT and CB_GETLBTEXT. 2006-05-18 12:17:44 +02:00
Alexandre Julliard 96a430f530 user: Added fast W->A mapping for LB_ADDSTRING and related messages. 2006-05-18 11:46:07 +02:00
Alexandre Julliard d415df99bc user: Added fast W->A mapping for WM_MDICREATE. 2006-05-18 11:37:41 +02:00
Alexandre Julliard bba0159910 user: Added fast W->A mapping for WM_SETTEXT and related messages. 2006-05-18 11:29:31 +02:00
Alexandre Julliard f793b818a4 user: Added fast W->A mapping for WM_GETTEXT and WM_ASKCBFORNAME. 2006-05-18 11:22:55 +02:00
Alexandre Julliard cb36cbd0aa user: Added helper functions for buffer management in WINPROC_CallProc32WTo32A.. 2006-05-18 11:03:30 +02:00
Alexandre Julliard de125e656e user: Merged WINPROC_CallProc32WTo32A_fast into WINPROC_CallProc32WTo32A. 2006-05-18 11:02:28 +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 c1c5f14839 user: The result for dialog procedures is stored in DWLP_MSGRESULT.
So we have to access it using Get/SetWindowLong when unmapping the
message results (based on a patch by Troy Rollo).
2006-05-17 20:53:51 +02:00
Alexandre Julliard cb3f3afca4 user: Remove unreachable code in DEFDLG_Proc. 2006-05-17 19:30:59 +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 2a809c195d user: Allocate 16-bit thunks separately from the window proc structure.
Also make sure the thunk memory block has execute permissions.
2006-05-17 13:51:37 +02:00
Dmitry Timoshkov f839a179a2 user32: Make all the recently added ShowWindow tests pass in Wine. 2006-05-17 10:42:17 +02:00
Dmitry Timoshkov 97c111d0d0 user32: Add more ShowWindow tests.
Move ShowWindow tests for children with an invisible parent into a
separate test, add more ShowWindow tests. The tests show that an
assumption in dlls/x11drv/winpos.c that SetWindowPos should not be
called on a child with an invisible parent is not always true.
2006-05-16 12:53:50 +02:00
Francois Gouget e739ba9551 Assorted spelling fixes. 2006-05-15 15:05:05 +02:00
Alexandre Julliard 6ebbfd4959 user: Prefer SendMessageW over SendMessageA where possible. 2006-05-10 21:33:33 +02:00
Alexandre Julliard a9c5fd2612 user: Moved Get/SetClassLong16 to wnd16.c. 2006-05-10 17:08:05 +02:00
Alexandre Julliard 56220c246b user: Have WINPROC_GetProc16 allocate a new winproc if necessary. 2006-05-10 16:55:55 +02:00
Alexandre Julliard 99dc29d926 user: Store the pointer to the winproc in the thunk structure.
This allows simplifying the handling of 16-bit thunks.
2006-05-10 15:50:18 +02:00
Alexandre Julliard c8ce866a8a user: Make the WINDOWPROCTYPE enum private to winproc.c. 2006-05-10 13:34:45 +02:00
Alexandre Julliard 4cc498f880 user: Replace WINPROC_GetProcType by WINPROC_IsUnicode. 2006-05-10 13:27:21 +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 ef74193949 user: Add a WIN_ISUNICODE flag instead of relying on the winproc type.
Also fix the initial value for the server is_unicode flag.
2006-05-10 12:55:36 +02:00
Alexandre Julliard 397bf3c2b1 user: Added specific winproc functions for calling dialog procedures. 2006-05-09 20:33:11 +02:00
Alexandre Julliard c1f3adc4a4 user: Use handles for 32-bit window procedures instead of pointers into the bss segment. 2006-05-09 20:24:19 +02:00
Alexandre Julliard cd0d7529de user: Always set the correct class winproc depending on the A/W type. 2006-05-09 20:00:40 +02:00
Alexandre Julliard 9d4bf4914f user: Remove some redundant NULL pointer checks. 2006-05-09 19:55:27 +02:00
Alexandre Julliard 0b7dcd2418 user: Make sure to always pass a 16-bit pointer to CallWindowProc16. 2006-05-09 19:55:20 +02:00
Alexandre Julliard 41b5e687fd user: Separate the 16 and 32-bit versions of WINPROC_AllocProc. 2006-05-09 19:55:05 +02:00
Alexandre Julliard 4c40190620 user: Separate the 16 and 32-bit versions of WINPROC_GetProc. 2006-05-09 18:40:46 +02:00
Alexandre Julliard 5326e304d0 user: Fixed offset check for the DWLP_DLGPROC case in SetWindowLong. 2006-05-09 18:35:50 +02:00
Alexandre Julliard a95c58b871 user: Separate Get/SetWindowLong16 implementation from the 32-bit one. 2006-05-09 18:34:38 +02:00