Eric Frias
5042516c74
Fixed KEYLP structure for big endian.
2004-11-22 18:26:58 +00:00
Stefan Leichter
c39deb5d63
Removed W->A from DEFWND_ImmIsUIMessageW.
2004-11-21 15:44:56 +00:00
Eric Frias
2067948c85
Fixed dialogex resource loading on sparc.
2004-11-21 15:36:05 +00:00
Dmitry Timoshkov
47361da574
- do not move updown control and buddy if an alignment was not requested
...
- in UDM_SETACCEL handler do not forget to update number of accelerators
- update arrows info in WM_LBUTTONDOWN as well as in WM_MOUSEMOVE
- use accelerators in WM_LBUTTONDOWN handler
2004-11-09 20:03:47 +00:00
William Poetra Yoga H
d9e25f9c8b
Fix the size and position of the system menu icon on the caption bar.
2004-11-08 22:11:48 +00:00
Ivan Leo Puoti
757687ee42
Proper implementation of sysmodal message boxes.
2004-11-03 22:18:11 +00:00
Mike McCormack
52f40a9388
Start the reboot process in ExitWindowsEx.
2004-11-01 23:30:46 +00:00
William Poetra Yoga H
a773f43f9c
Add COLOR_MENUHILIGHT and COLOR_MENUBAR to the system colors.
2004-11-01 21:06:06 +00:00
Alexandre Julliard
bcb1f8fe05
Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop
...
forever too if WM_PAINT is not handled properly.
2004-10-30 02:13:48 +00:00
Mike McCormack
e1d1d34c9d
Kill all wine processes when doing ExitWindowsEx.
2004-10-29 21:26:33 +00:00
Alexandre Julliard
640b2d5d1c
Removed wrong FIXME for MB_APPLMODAL (reported by Ivan Leo Puoti).
2004-10-22 22:08:02 +00:00
Robert Shearman
9ab8fc6fab
Windows with WS_EX_TOOLWINDOW style should not have min/max buttons.
2004-10-19 22:54:24 +00:00
Dmitry Timoshkov
5736111c83
Protect USER32 against early graphics driver unloading.
2004-10-18 21:25:26 +00:00
Ivan Leo Puoti
a89ac894ab
Implement action 83 in SystemParametersInfo().
2004-10-14 03:06:41 +00:00
Dmitry Timoshkov
c3cecc5d57
- WM_MDISETMENU handler should update new frame menu only if an active
...
and maximized MDI child is visible.
- Add a test case for MDI child activation sequence.
2004-10-11 19:55:28 +00:00
Dimitrie O. Paun
e6fb678c4e
Unicodify DIALOG_DlgDirSelect. Use SendMessageW whenever possible.
2004-10-11 19:51:31 +00:00
Dmitry Timoshkov
132470a2b1
Properly handle the case when last MDI child is being destroyed.
2004-10-08 23:36:18 +00:00
Alexandre Julliard
998863bf63
Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found
...
by Jeremy White).
2004-10-07 03:09:37 +00:00
Dmitry Timoshkov
ec3e946268
Make message spy thread safe.
2004-10-06 18:53:06 +00:00
Dmitry Timoshkov
b0c45123e5
Add a test case for accelerators, make the test pass on Wine.
2004-10-05 23:45:35 +00:00
Alexandre Julliard
8e68b54787
Prevent DispatchMessage from dispatching a message to a different
...
thread (reported by Dmitry Timoshkov).
2004-10-05 22:33:22 +00:00
Dmitry Timoshkov
01a88ff01e
If there no MDI child to activate set hwndActiveChild to 0 in
...
WM_MDIDESTROY hander, add a test case.
2004-10-05 02:10:04 +00:00
Michael Kaufmann
469b41f24c
DIB_FixColorsToLoadflags: Support bitmaps with a BITMAPCOREHEADER
...
properly.
2004-09-28 02:06:02 +00:00
Robert Shearman
a746e3b73e
Check in client area before caption area, because the app may have
...
changed the NC area in WM_NCCALCSIZE.
2004-09-25 00:29:59 +00:00
Hajime Segawa
0c3f2868fa
Added StatusFontSize and MessageFontSize entries in win.ini.
2004-09-24 01:11:02 +00:00
Robert Shearman
bbdac5e475
GetWindowLong -> GetWindowLongPtr.
2004-09-22 19:14:08 +00:00
Dmitry Timoshkov
4dd296180a
Fix WM_MDIREFRESHMENU for the case when separator is at the position
...
0.
2004-09-21 20:04:10 +00:00
Dmitry Timoshkov
a1ccb921bd
Make message flow for MDI creation/activation/destruction more like in
...
Windows. Add a bunch of MDI message tests.
2004-09-21 00:24:22 +00:00
Dmitry Timoshkov
2abf2c7aa5
Make menu code cope with WM_SYSKEY*/WM_SYSCHAR messages.
...
Unblock menu loop if a window being destroyed owns a tracked menu.
2004-09-20 21:45:45 +00:00
Michael Kaufmann
970b2218d6
Fix a regression caused by an earlier patch for CreateDIBitmap.
2004-09-20 21:45:00 +00:00
Alexandre Julliard
807fe07417
Don't bother to return partial region data in get_window_region and
...
get_visible_region, return STATUS_BUFFER_OVERFLOW instead.
2004-09-17 18:20:11 +00:00
Dimitrie O. Paun
630dc0f5a9
Use the W version of the function were we can.
2004-09-15 18:04:07 +00:00
Steven Edwards
4d563e0195
Added stub for SwitchDesktop.
2004-09-14 19:29:11 +00:00
Jon Griffiths
3772c73a6c
CreateDCA -> CreateDCW
2004-09-13 23:22:30 +00:00
Alexandre Julliard
cdcdbe5495
Authors: Michael Kaufmann <hallo@michael-kaufmann.ch>, Huw Davies <huw@codeweavers.com>
...
CreateDIBitmap should return bitmaps at the depth of the supplied dc.
Add a test to exercise this behaviour.
2004-09-13 19:37:03 +00:00
Dmitry Timoshkov
914231e87b
Add support for HCBT_SYSCOMMAND hook, add logging for HCBT_SYSCOMMAND
...
in the message test.
2004-09-13 19:32:59 +00:00
Zach Gorman
9358f3e9a1
The initial dialog focus should be established by the default handler
...
for SetFocus(), not in the dialog creation code.
2004-09-10 22:29:02 +00:00
Zach Gorman
5c8ceb497e
Modal dialogs should not be shown via ShowWindow until the message
...
queue first runs empty. This allows all initialization to complete
before a default focus is assigned.
2004-09-10 21:27:02 +00:00
Alexandre Julliard
92acc58af6
Get rid of the WIN_SetRectangles export from user32.
2004-09-09 00:30:29 +00:00
Alexandre Julliard
80bba3bd61
Moved keyboard.c to dlls/user/kbd16.c.
...
Keyboard, mouse and display drivers are 16-bit only.
2004-09-01 22:47:48 +00:00
Alexandre Julliard
f56c6fb9b2
Moved some window painting functions to uitools.c.
2004-09-01 18:26:40 +00:00
Alexandre Julliard
b0394dea42
Get rid of the WINE_UNUSED macro.
2004-09-01 17:36:04 +00:00
Alexandre Julliard
3c39a9912e
Get rid of the non-standard CONV_POINT and CONV_RECT functions.
2004-08-31 00:02:02 +00:00
Alexandre Julliard
97f4e4ef7d
Removed struct32.[ch].
2004-08-30 19:32:08 +00:00
Alexandre Julliard
c158550998
Moved a couple of 16-bit functions to user16.c.
2004-08-30 18:42:17 +00:00
Alexandre Julliard
0ba0d7a119
GetUpdateRgn should clip the returned region to the client area.
...
Changed GetUpdateRect and ExcludeUpdateRgn to call GetUpdateRgn.
Moved these 3 functions to dlls/user/painting.c.
2004-08-26 00:46:11 +00:00
Alexandre Julliard
b72994b6d4
Print the Window caption using Unicode calls.
...
Don't send WM_GETTEXT to retrieve the caption text.
2004-08-26 00:35:35 +00:00
Rein Klazes
e8698e9eb4
When there are no pixels to scroll, ScrollWindowEx must still scroll
...
children and update the hrgnUpdate and rcUpdate arguments.
2004-08-24 20:15:00 +00:00
Ulrich Czekalla
516caf5a54
Set WS_EX_CONTROLPARENT when dialog has DS_CONTROL.
2004-08-24 02:26:40 +00:00
Zach Gorman
3944cb3b68
When searching for the DEFPUSHBUTTON in a dialog, recurse into child
...
windows with the WS_EX_CONTROLPARENT style (if they are visible and
enabled).
2004-08-19 01:03:12 +00:00
Mike McCormack
65e4823410
Define new propsheet messages.
2004-08-16 20:00:26 +00:00
Alexandre Julliard
87115b23c2
WM_NEXTDLGCTL should not change the default button ID (based on a
...
patch by Krishna Murthy).
2004-08-14 00:44:08 +00:00
Marcus Meissner
c966c56f08
If the current menu handle is already set, do not set it again.
2004-08-13 00:39:29 +00:00
Alexandre Julliard
1191f0576c
Get rid of window region on the client side.
2004-07-20 22:25:16 +00:00
Alexandre Julliard
4616dcb9a7
Moved the WindowFromPoint functionality to the server so that we can
...
properly take into account the window region.
2004-07-20 22:17:38 +00:00
Alexandre Julliard
218c478d24
Allocate the dialog info in DIALOG_CreateIndirect if this wasn't
...
already done by the dialog procedure.
2004-07-14 00:49:40 +00:00
Marcus Meissner
d176dde0d1
Fixed switch (unsigned int) { case -1 / -2: } problems.
2004-07-12 23:52:33 +00:00
Marcus Meissner
e7874fd802
Replace lvalue casts of post increments for newer compiler.
2004-07-06 19:26:16 +00:00
Dmitry Timoshkov
2c71c539a5
Do not do SetWindowPos(SWP_FRAMECHANGED) in the
...
DefFrameProc(WM_SETTEXT) handler, DefWindowProc already takes care of
it.
2004-06-30 18:15:51 +00:00
Dimitrie O. Paun
02fdba36e1
Small documentation cleanup.
2004-06-30 18:11:09 +00:00
Alexandre Julliard
618a7e5813
Added support for window regions in the server.
2004-06-29 03:53:25 +00:00
Dmitry Timoshkov
b3569e7015
Add a test case for clipboard functionality and fix some bugs revealed
...
by it.
2004-06-25 02:55:37 +00:00
Dmitry Timoshkov
eb30a1c7b2
Make sure that both deactivated and activated MDI children receive
...
WM_MDIACTIVATE message in all cases.
2004-06-23 20:51:06 +00:00
Alexandre Julliard
00844ee036
Fixed wrong Unicode string syntax in GetMonitorInfoW.
2004-06-23 00:12:03 +00:00
Vincent Béron
9d8036e1d8
Replace some more -debugmsg references for WINEDEBUG.
2004-06-21 23:56:15 +00:00
Mike Hearn
803ca3cb9e
Add a dedicated debug channel for message boxes which outputs the
...
contents of the message.
2004-06-18 22:28:26 +00:00
Ulrich Czekalla
06a60621ab
ScrollDC should take into account overlapped windows. With this change
...
ScrollWindowEx can be moved out of X11drv.
2004-06-15 17:04:02 +00:00
Dmitry Timoshkov
8f9d07f16b
Added 32->16 mapping for SBM_GETRANGE/SBM_SETRANGE messages.
...
Added support for SBM_GETRANGE16 message in the scrollbar window
proc.
2004-06-14 17:55:27 +00:00
Dmitry Timoshkov
ca46969b13
Print meaningful message values instead of vague names for unknown
...
messages.
2004-06-04 18:00:07 +00:00
Ulrich Czekalla
e32e1f0598
EnableWindow should not remove the focus of child windows.
2004-06-03 00:08:55 +00:00
Alexandre Julliard
ed8a41c7b5
Only allocate even-numbered window handles, MS Project depends on that
...
(found by Dmitry Timoshkov).
2004-05-28 19:35:37 +00:00
Dmitry Timoshkov
c9860a504c
Add some new message names to the message spy.
2004-05-28 19:27:47 +00:00
Dmitry Timoshkov
cdeeb84822
Add a test for accessing classes from another thread.
...
Fix UnregisterClass behaviour with NULL hInstance.
2004-05-28 19:27:17 +00:00
Dmitry Timoshkov
e069cf1476
Do not activate an MDI child if the child is invisible.
2004-05-25 18:03:32 +00:00
Alexandre Julliard
b38b6821fb
Activate another window when the dialog gets hidden in EndDialog.
2004-05-18 20:45:22 +00:00
Dmitry Timoshkov
f2616c5617
Only child windows receive WM_SHOWWINDOW in DestroyWindow() under
...
Windows.
2004-05-18 00:48:52 +00:00
Dmitry Timoshkov
f74516843f
- Add a test for GetWindowInfo, it should not check cbSize member of
...
the WINDOWINFO structure.
- Add tests for window state at the time the system calls
HCBT_CREATEWND (failing under Wine at the moment).
2004-05-11 22:17:19 +00:00
Jake Hamby
d053539f7d
Several of the registry keys for system colors and system metrics were
...
incorrect.
2004-05-11 04:28:35 +00:00
Ulrich Czekalla
4e10f0e0bd
Fix clipboard regression.
2004-05-10 19:59:36 +00:00
Dmitry Timoshkov
80422fb830
Make WM_GETMINMAXINFO default behaviour more like the Windows one.
2004-05-07 00:41:32 +00:00
Ulrich Czekalla
b41466b3b1
Allow applications, under certain conditions, to set data into the
...
clipboard even if they are not the clipboard owners.
2004-05-06 23:40:30 +00:00
Dmitry Timoshkov
e6e15c36b5
Before removing menu items in the MDI Window menu check whether a menu
...
item following a separator has our "magic" value.
2004-04-27 23:29:18 +00:00
Duane Clark
5ffac0988e
Add tracing messages to MDI.
2004-04-26 20:05:01 +00:00
Santosh Siddheshwar
87109682ed
Allocate DIALOGINFO structure in DefDlgProc instead of in
...
DIALOG_CreateIndirect, so that it gets created correctly for non
template-based dialogs.
2004-04-20 04:02:35 +00:00
Dmitry Timoshkov
0ad1a6c6dd
Setting WS_VISIBLE style does not require any special handling.
2004-04-02 20:12:38 +00:00
Dmitry Timoshkov
970be6477c
WM_PARENTNOTIFY should not be sent to WS_POPUP windows.
2004-04-02 20:10:11 +00:00
Dimitrie O. Paun
126227a55a
Remove the support for the Win 3.1 Look.
2004-04-01 04:57:12 +00:00
Dmitry Timoshkov
d5a1e761ee
Make DestroyWindow() not mess with a window focus, this should be
...
taken care of by ShowWindow(SW_HIDE).
Add a test for DestroyWindow() on a focused child.
2004-03-26 01:06:15 +00:00
Rein Klazes
fefc8c629a
Correctly size the spi_loaded array prevents overwriting of system
...
parameters.
2004-03-22 20:41:04 +00:00
Dmitry Timoshkov
ea7857559c
Change order of EnableWindow/DestroyWindow in the case of failure in
...
DIALOG_CreateControls32.
2004-03-20 19:25:12 +00:00
Justin Chevrier
7e997ef081
Implemented SPI{GET,SET}MOUSEHOVERWIDTH, SPI{GET,SET}MOUSEHOVERHEIGHT,
...
SPI{GET,SET}MOUSEHOVERTIME, SPI{GET,SET}MOUSESCROLLLINES,
SPI{GET,SET}MENUSHOWDELAY.
2004-03-19 01:16:12 +00:00
Richard Cohen
72b6645682
FIXME_(win) -> FIXME.
2004-03-17 20:48:18 +00:00
Huw Davies
6174bccfb1
We need to at least refresh the window menu in ChildActivate, so for
...
now remove the 'is already activated' optimization.
2004-03-09 23:26:18 +00:00
Huw Davies
bed797e1ee
Windows always adds a separator to the bottom of the new window
...
menu. Thanks to Dmitry Timoshkov for confirming this.
2004-03-09 19:19:29 +00:00
Robert Shearman
e2b1222ee0
Stub for RegisterDeviceNotificationW.
2004-03-05 20:44:15 +00:00
Justin Chevrier
0a25dd4668
Move implementation of SysParametersInfo from Ascii to Unicode.
2004-03-04 01:41:11 +00:00
Dimitrie O. Paun
475cdcba8c
Remove the win32 debug channel, misc cleanup of debugging code.
2004-02-26 05:30:54 +00:00
Mike Hearn
4664b963b9
Add a comment to explain the LockWindowUpdate situation.
2004-02-26 05:29:26 +00:00
Dmitry Timoshkov
c162263d3f
First step in using faster approach for A<->W message mapping.
2004-02-20 05:14:48 +00:00
Huw Davies
14743a0f3b
SetMenu should always call SetWindowPos whether the window is visible
...
or not. However we shouldn't call SWP from CreateWindowEx.
Added a test for this behaviour.
2004-02-17 20:29:05 +00:00