Commit Graph

1402 Commits

Author SHA1 Message Date
Dmitry Timoshkov 2dd2eafd3c user: Neither WS_CAPTION nor WS_EX_APPWINDOW has anything to do how
passed in to CreateWindow menu should be handled.
2006-06-09 18:13:29 +02:00
Michael Kaufmann ea5d55bf4c user/tests: Update LoadImage test.
Include a bitmap in the resources and don't depend on Windows'
OBM_CHECK bitmap anymore.
2006-06-08 11:11:30 +02:00
Ulrich Czekalla 0c468c816c x11drv: Improve handling of the case where the clipboard is opened
with a window from another thread or process.
2006-06-05 21:01:30 +02:00
Juan Lang 9a974b899b user: Use SetPropW rather than SetPropA for internal property. 2006-06-05 13:46:02 +02:00
qingdoa daoo 7c34bfab20 user32: Fix selection handling for listboxes with LBS_EXTENDEDSEL style. 2006-06-02 11:45:43 +02:00
Juris Smotrovs b8d9f3955a user32: Send WM_SIZE when window changes state between restored/min/maximized. 2006-06-02 11:42:11 +02:00
Michael Kaufmann 6a74137d70 user32: Popup menu position fixes.
- Open large popup menus on the other side only if there's enough space
- Open popup menus such that the y position of the first item in the
  popup menu is the same as the y position of the focused menu item.
2006-06-02 11:22:04 +02:00
Dmitry Timoshkov 2827e7bbb6 user32: Replace PeekMessage loops in the PeekMessage test by explicit calls.
Replace all 'while (PeekMessage()) DispatchMessage();' loops in the
PeekMessage test by explicit calls to PeekMessage(), check queue
status and processed messages after each call to see what is going on
behind the scene.
2006-06-02 11:21:26 +02:00
Mike McCormack 2e1d2b30f8 user32: Stub implementations for Win64's Get/Set LongPtr functions. 2006-05-30 19:29:36 +02:00
Alexandre Julliard ee48e1e3d5 user: Fixed WM_ACTIVATEAPP mapping with null task handle. 2006-05-28 18:26:32 +02:00
Alexandre Julliard 14fb1ddcc5 user: Only include winproc.h where necessary. 2006-05-26 14:54:54 +02:00
Alexandre Julliard 7b83af4b0e user: Added fast 32->16 mapping for the remaining messages. 2006-05-26 14:28:22 +02:00
Alexandre Julliard fdc60a122f user: Added fast 32->16 mapping for the listbox and combobox messages. 2006-05-26 14:25:18 +02:00
Alexandre Julliard 19a1dc554b user: Added fast 32->16 mapping for the edit control messages. 2006-05-26 14:17:28 +02:00
Alexandre Julliard 8056e2422d user: Added fast 32->16 mapping for button and scrollbar messages. 2006-05-26 14:16:00 +02:00
Alexandre Julliard 8e92e5369f user: Added fast 32->16 mapping for WM_GETTEXT, WM_SETTEXT and similar messages. 2006-05-26 14:14:14 +02:00
Alexandre Julliard 1d2f900444 user: Added fast 32->16 mapping for the WM_DDE* messages. 2006-05-26 14:09:26 +02:00
Alexandre Julliard e30c69cc7d user: Added fast 32->16 mapping for WM_MDIACTIVATE, WM_MDIGETACTIVE and WM_MDISETMENU. 2006-05-26 14:08:09 +02:00
Alexandre Julliard dd67e8b674 user: Added fast 32->16 mapping for WM_COPYDATA, WM_GETDLGCODE and WM_NEXTMENU. 2006-05-26 14:03:49 +02:00
Alexandre Julliard b00df53d71 user: Added fast 32->16 mapping for WM_GETMINMAXINFO, WM_NCCALCSIZE and WM_WINDOWPOSCHANGING/CHANGED. 2006-05-26 14:00:36 +02:00
Alexandre Julliard fbd368fc97 user: Added fast 32->16 mapping for WM_COMPARE/DELETE/MEASURE/DRAWITEM. 2006-05-26 13:54:57 +02:00
Alexandre Julliard 611722a325 user: Added fast 32->16 mapping for WM_CREATE, WM_NCCREATE and WM_MDICREATE. 2006-05-26 13:53:15 +02:00
Alexandre Julliard 2ea3f3d293 user: Added fast 16->32 mapping for the remaining messages. 2006-05-26 13:44:57 +02:00
Alexandre Julliard 8b4281a7c8 user: Added fast 16->32 mapping for the WM_DDE* messages. 2006-05-26 13:42:00 +02:00
Alexandre Julliard 394775187f user: Added fast 16->32 mapping for WM_MDIACTIVATE, WM_MDIGETACTIVE and WM_MDISETMENU. 2006-05-26 13:40:02 +02:00
Alexandre Julliard 67a633b3e7 user: Added fast 16->32 mapping for WM_COPYDATA, WM_GETDLGCODE and WM_NEXTMENU. 2006-05-26 13:36:57 +02:00
Alexandre Julliard 5940fb8c00 user: Added fast 16->32 mapping for WM_GETMINMAXINFO, WM_NCCALCSIZE and WM_WINDOWPOSCHANGING/CHANGED. 2006-05-26 13:31:55 +02:00
Alexandre Julliard b4d68ff9aa user: Added fast 16->32 mapping for WM_COMPARE/DELETE/MEASURE/DRAWITEM. 2006-05-26 13:24:47 +02:00
Alexandre Julliard 246f6d1105 user: Added fast 16->32 mapping for WM_CREATE, WM_NCCREATE and WM_MDICREATE. 2006-05-26 13:21:31 +02:00
Dmitry Timoshkov 0170bc3e84 user: Add a test to check the queue status if there is a pending
posted message and the quit flag is set.
2006-05-24 13:58:20 +02:00
Alexandre Julliard e6b97ce2bd user: Reuse the fast A->W function to implement the 16->32W case.
Get rid of the no longer needed 16->32W mapping functions.
2006-05-23 20:38:41 +02:00
Alexandre Julliard 26e47761c9 user: Reuse the fast W->A function to implement the 32W->16 case.
Get rid of the no longer needed 32W->16 mapping functions.
2006-05-23 20:33:14 +02:00
Alexandre Julliard 22a9d18bff user: Use winproc callbacks for the remaining 16-bit messaging functions. 2006-05-23 20:15:17 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov 3b95aad505 user/tests: Don't generate a mouse click message in mouse_ll_global_thread_proc.
Windows doesn't like when a thread plays games with the focus, that
leads to all kinds of misbehaviours and failures to activate a
window. So, better don't generate a mouse click message in
mouse_ll_global_thread_proc.
2006-05-23 12:45:54 +02:00
Dmitry Timoshkov c3ba7eecdb user/tests: Add lparam to all HCBT_MINMAX hook messages. 2006-05-23 12:44:50 +02:00
Alexandre Julliard 44691723eb user: Added A<->W mapping for WM_GETDLGCODE. 2006-05-22 12:29:02 +02:00
Alexandre Julliard fcce047f61 user: Get rid of the WINPROC_Map/UnmapMsg32ATo32W functions. 2006-05-20 20:02:10 +02:00
Alexandre Julliard 3d92de45c4 user: Added fast A->W mapping for the remaining messages. 2006-05-20 19:59:19 +02:00
Alexandre Julliard 0eec70f410 user: Added fast A->W mapping for WM_GETTEXTLENGTH and related messages. 2006-05-20 19:58:38 +02:00
Alexandre Julliard 34610d1150 user: Added fast A->W mapping for WM_CHAR and related messages. 2006-05-20 18:57:36 +02:00
Alexandre Julliard 3f4a2a5bfc user: Added fast A->W mapping for EM_GETLINE. 2006-05-20 18:57:11 +02:00
Alexandre Julliard 19b428755c user: Added fast A->W mapping for LB_GETTEXT and CB_GETLBTEXT. 2006-05-20 18:55:34 +02:00
Alexandre Julliard 4dd1cce203 user: Added fast A->W mapping for WM_SETTEXT and related messages. 2006-05-20 18:54:25 +02:00
Alexandre Julliard 91b278b811 user: Added fast A->W mapping for WM_GETTEXT and WM_ASKCBFORNAME. 2006-05-20 18:53:16 +02:00
Alexandre Julliard 3e195d4382 user: Added fast A->W mapping for WM_MDICREATE. 2006-05-20 18:49:40 +02:00
Alexandre Julliard 899133d7f7 user: Added fast A->W mapping for WM_CREATE and WM_NCCREATE. 2006-05-20 18:48:04 +02:00
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
Thomas Kho b833860579 user: Fix behavior when selecting disabled menu items. 2006-05-08 15:15:19 +02:00
Thomas Kho 76104e1ccc user: Allow menu WndProc to recognize VK_[LR]MENU. 2006-05-08 15:12:33 +02:00
Thomas Kho bde9ca2b63 user: Extend menu conformance test. 2006-05-08 15:10:41 +02:00