Commit Graph

1617 Commits

Author SHA1 Message Date
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
Justin Chevrier 7d06e6a575 Implemented SPI_GETGRADIENTCAPTIONS, SPI_GETFONTSMOOTHING,
SPI_GETHOTTRACKING, SPI_GETLISTBOXSMOOTHSCROLLING and
SPI_GETKEYBOARDCUES system parameter calls.
2004-02-12 22:40:24 +00:00
Bill Medland df0916b494 Added the automatic tabbing in IsDialogMessage.
Added corrections to GetNextTab/GroupItem.
Included tests.
2004-02-12 02:16:33 +00:00
Alexandre Julliard a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Alexandre Julliard f0b082b354 Dynamically retrieve the metrics that depend on the screen size (based
on a patch by Alex Pasadyn).
Get rid of the no longer used SM_WINE_BPP metric.
2004-02-10 02:25:23 +00:00
Alex Pasadyn e7499dc2cc Report the mouse wheel as present in the system metrics. 2004-02-07 01:28:23 +00:00
Dmitry Timoshkov 9b24af8acb Add a test case and a fix for the window styles state at the window
creation time.
2004-02-06 05:18:56 +00:00
Rein Klazes d68477711b Change return code from ExitWindowsEx() (and with that related
ExitWindows* functions) from FALSE to TRUE.
2004-02-05 01:24:48 +00:00
Dmitry Timoshkov df0ddd4a96 Make the MDI Window menu refreshing Windows compatible.
Simplify MDI child visibility check.
2004-02-03 00:08:51 +00:00
Dmitry Timoshkov 4f9b4fd38d Test whether an active maximized MDI child is visible. 2004-02-02 23:02:03 +00:00
Alexandre Julliard 417bcb35a2 Fixed 16-bit MDI support (based on a patch by Dmitry Timoshkov). 2004-01-28 21:43:36 +00:00
Alexandre Julliard 55d72b792f lpCreateParams should be a SEGPTR in 16-bit code. 2004-01-28 21:41:56 +00:00
Alexandre Julliard df5800fdd7 Properly translate the message result for WM_GETTEXT-style messages. 2004-01-27 20:28:42 +00:00
Dmitry Timoshkov ae23340c35 - Add the same protection to MDI_AugmentFrameMenu as one existing in
MDI_RestoreFrameMenu against repetitive calls.
- Use Windows default icon for system menu bitmap if there is no one
  supplied by a child window as Windows does.
- Use GetSystemMenu() to load system menu for a child window,
  otherwise there is no way to generate WM_SYSCOMMAND menu messages.
- Restore check in WM_SIZE MDI child handler erroneously removed
  earlier.
2004-01-27 03:57:10 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Yoshiro Takeno c91d9f0c90 In Windows, the leading byte for multibyte characters are set to upper
byte. If single byte character is used, the upper byte is set to 0.
2004-01-26 20:20:07 +00:00
Dmitry Timoshkov b9e56b9b99 In the WM_MDISETMENU handler use an existing frame menu if the passed
value is 0.
Visio expects that separator in the Window menu has ID 0.
Cope with a destroyed menu handle in WM_MDIREFRESHMENU handler.
2004-01-26 20:14:59 +00:00
Alexandre Julliard d07c1004e3 Moved a few remaining 16-bit definitions out of the standard headers. 2004-01-23 22:51:41 +00:00
Huw Davies f96abb20f6 Add correct treeview structs to message spy. 2004-01-21 22:16:46 +00:00