Commit Graph

1790 Commits

Author SHA1 Message Date
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
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
Rein Klazes 15a4fef9a3 In RDW_UpdateRgn(), if hRgn is zero, clear the windows update region
if it is an empty region.
2004-01-21 02:18:51 +00:00
Dmitry Timoshkov dc70553cae Merge the MDI and common window creation code. Change the way MDI
children are managed in MDIClient.
Add support for MDICREATESTRUCT A<->W conversions.
Add support for WM_MDIREFRESHMENU.
2004-01-20 04:29:20 +00:00
Alexandre Julliard 6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard 53145d96f6 Moved some code around to avoid exporting DIB functions from gdi32. 2004-01-13 23:31:46 +00:00
Alexandre Julliard a51bb8151d ScrollDC doesn't need to be in the graphics driver. 2004-01-12 21:15:16 +00:00
Alexandre Julliard 5d19e6c374 Converted DlgDirList to Unicode. 2004-01-06 20:51:40 +00:00
Robert Shearman 30a520e235 Add missing \n on error message. 2004-01-06 20:40:48 +00:00
Steven Edwards 892a28323b Split up the Win16/32 MDI support a bit. 2004-01-02 20:48:13 +00:00
Chris Morgan 4e2c03644c Make the debug mark printing unconditional instead of conditional upon
the  SHELL debug channel.  Make mark text obvious by changing the
output text to 'Debug mark requested by user' and adding 'Debug mark'
to the menu resource text.
2004-01-02 01:50:50 +00:00
Alexandre Julliard 446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Dmitry Timoshkov 1a620f29d2 Add MDI child creation tests. 2003-12-30 21:54:54 +00:00
Mike Hearn 9a1e0a097e Prevent false matches in WIN_FindWindow. 2003-12-30 19:09:50 +00:00
Alexandre Julliard bd13ab8d78 Store a pointer to the client-side class structure in the server and
return it on create_window and destroy_class.
Only create a single instance of the desktop class for the whole
session.
Added some missing locking in the client-side class management.
2003-12-11 05:34:53 +00:00
Alexandre Julliard b0622101b6 System classes must not have the CS_GLOBALCLASS style. 2003-12-10 04:14:35 +00:00
Alexandre Julliard bfce151ae5 Added window classes in the server, and support for inter-process
GetClassWord/Long (based on a patch by Mike McCormack).
Various fixes to the class instance handling.
2003-12-10 04:08:06 +00:00
Andreas Rosenberg 2fa87d2908 Point size in DLG_TEMPLATE may be negative. 2003-12-10 02:12:09 +00:00
Alexandre Julliard 5f32566530 Made all the RegisterClass and GetClassInfo variants call the
corresponding Ex function.
2003-12-10 01:46:52 +00:00
Alexandre Julliard ebf1243ec1 Added support for inter-process GetWindowWord.
Do better range checking on the window extra bytes.
2003-12-10 01:34:51 +00:00
Kevin Koltzau cc09196356 Implemented GetTitleBarInfo. 2003-12-08 23:46:29 +00:00
Alexandre Julliard 5329fc8902 Get rid of clipboard.h. 2003-12-05 04:45:50 +00:00
Alexandre Julliard 09791702e0 In RDW_ValidateParent, get rid of the parent update region if it is
empty after the validation, to avoid a useless WM_PAINT.
2003-12-05 04:42:43 +00:00
Steven Edwards cfcc449324 Porting fixes. 2003-11-26 22:29:30 +00:00
Alexandre Julliard 97903d260b Added support for inter-process GetWindowLong on the window extra
bytes.
2003-11-26 22:15:41 +00:00
Dmitry Timoshkov 86e4079bc2 Make Alt+[national key] menu shortcuts work. 2003-11-26 05:08:48 +00:00
Kevin Koltzau 358fff8142 Implement the TME_NONCLIENT flag in TrackMouseEvent to handle
nonclient hover/ leave events.
2003-11-26 05:06:59 +00:00
Alexandre Julliard b7976c00a0 Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Alexandre Julliard f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Dmitry Timoshkov b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Rein Klazes df93214a52 If GetNextDlgTabItem() cannot find any next control, return the handle
of the original control.
2003-11-09 00:26:26 +00:00
Alexandre Julliard 47f62a402a Set %fs and %gs in the register context to their current value when
calling 16-bit code.
2003-11-05 00:46:44 +00:00
Dmitry Timoshkov 41566f2a0b Add common dialog notification messages and WM_SIZE. 2003-11-03 22:14:04 +00:00
Alexandre Julliard 6d9350fa1f Use a timeout when sending broadcast messages. 2003-10-31 04:18:55 +00:00
Rein Klazes dc969d4704 Correct the logic that decides whether a WM_SYSKEYUP/DOWN or a
WM_KEYUP/DOWN message is to be sent.
2003-10-28 00:02:57 +00:00
Dmitry Timoshkov dfa1f6a82a Initialize MinMax.ptReserved, use better defaults for child windows. 2003-10-24 04:22:11 +00:00
Rein Klazes d7484a8a57 Use the extended window style for the previous style in the style
changing/changed messages if WIN_SetWindowLong is called with
GWL_EXSTYLE.
2003-10-21 23:42:02 +00:00
Alexandre Julliard 8d174d3f47 Store the global shell, progman and taskman windows in the server
(based on a patch by Martin Fuchs).
2003-10-07 03:40:23 +00:00
Daniel Marmier 0348649853 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-06 21:03:32 +00:00
Dmitry Timoshkov 2999165c83 Implemented RealGetWindowClass. 2003-09-27 03:47:07 +00:00
Rein Klazes c99b26d985 Fix MDISetMenu in the case it is called before a Windows Menu exists
as Agent newsreader does.
2003-09-23 22:47:55 +00:00
Alexandre Julliard 9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +00:00
Kevin Groeneveld 6982039ffc Modify CheckRadioButton function to be more consistent with Windows. 2003-09-12 00:23:30 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 7df1b9e03a Start using the exported TEB structure from winternl.h where
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard bf97962a51 Avoid including stackframe.h if it's not needed. 2003-08-27 02:52:17 +00:00
Alexandre Julliard 3a5b7cf105 Extended WOWCallback16Ex to support register functions too. This
allows simplifying the wine_call_to_16 assembly code by moving part of
it to C code, and getting rid of the extra kernel exports.
2003-08-23 23:30:51 +00:00
Dmitry Timoshkov 5beaf47496 Protect SystemParametersInfoA(SPI_GETxxx) from NULL pvParam. 2003-08-22 05:00:45 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Alexandre Julliard 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Mike McCormack 0e27c979a6 Stub implementation of FlashWindowEx. 2003-08-12 20:33:26 +00:00
Dmitry Timoshkov d9e798074e Protect CallWindowProcA/W from NULL pointers. 2003-08-05 19:17:19 +00:00
Dmitry Timoshkov cb84de9851 Make GetWindowInfo() work for all windows and return correct values. 2003-08-05 18:26:28 +00:00
Alexandre Julliard 039e13118e Implemented inter-thread SendMessageCallback. 2003-07-26 20:36:43 +00:00
Mike McCormack d30469971e Strip WS_CAPTION and WS_SYSMENU for child dialogs. 2003-07-18 23:00:14 +00:00
Alexandre Julliard 07f1198eea Store window procedures in a static array instead of creating a heap.
Only allocate the winproc selector when actually needed.
2003-07-09 22:31:34 +00:00
Alexandre Julliard 04c1f9f88c Only compute dialog base units once we need them. 2003-07-09 19:53:17 +00:00
Ulrich Czekalla b2df5f9f19 - use global atoms for the format ids
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
  EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
  the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
  didn't own the selection but they did and as a result queried
  themselves for available selection data
2003-06-23 23:02:02 +00:00
Aric Stewart 6fcf40197c Simple optimization in EnableWindow. 2003-06-23 20:02:01 +00:00
Dmitry Timoshkov 007196651f Dump RDW_ flags in RedrawWindow. 2003-06-23 19:59:04 +00:00
Huw Davies b367a6e628 We can't use RtlCreateUnicodeStringFromAsciiz for WM_SETTEXT as the
resulting unicode string may be greater than 0xffff bytes.
2003-05-19 23:15:21 +00:00
Dmitry Timoshkov 33cf3e0bfd GetClassInfo returns class atom on success. 2003-05-19 23:10:54 +00:00
Dmitry Timoshkov 040b3e1da5 Restore MDI window in the case of disabled maximize button. 2003-05-19 19:01:56 +00:00
Dmitry Timoshkov cdbe1570df Initialize hbmColor only for color icons in GetIconInfo. 2003-05-19 19:01:31 +00:00
Alexandre Julliard d0af123a41 Catch broadcast window handles in functions that are implemented using
SendMessage.
2003-05-19 19:00:02 +00:00
Mike McCormack 020f8a4c82 Implemented BroadcastSystemMessageW. 2003-05-19 18:56:49 +00:00
Alexandre Julliard 54100873d3 Avoid using the MapHModule functions. 2003-05-16 20:17:52 +00:00
Alexandre Julliard c963e25c0e Get rid of the 32-bit user signal proc since we always run builtin
USER now.  Moved USER module cleanups to the 16-bit signal proc.
2003-05-15 23:11:00 +00:00
Mike McCormack 98e5e7705a Implemented SetMessageExtraInfo. 2003-05-13 23:36:01 +00:00
Dmitry Timoshkov 692c821609 Poll X events in GetInputState the same way as in GetQueueStatus. 2003-05-11 03:29:47 +00:00
Ulrich Czekalla 4d837749d8 We should pass the callers client-area rect and clip rect to x11drv
otherwise we'll fail to scroll all children.
2003-05-11 03:01:42 +00:00
Alexandre Julliard 17c63bbab3 Added A<->W mappings for WM_IME_CHAR. 2003-05-11 02:58:19 +00:00
Dmitry Timoshkov bad473924c Ignore high word of wParam when handling WM_COMMAND in the MessageBox
proc.
2003-05-11 02:44:31 +00:00
Dusan Lacko b922aad01f Fix ALT context bit for WM_KEYDOWN/UP. 2003-05-11 02:43:42 +00:00
Dmitry Timoshkov 5e10df3e12 Windows treats dialog control class ids 0-5 same way as 0x80-0x85. 2003-05-11 02:43:11 +00:00
Maxime Bellengé 711e1ba021 - Fix some indentation.
- Fix the loading of icon resources.
2003-04-29 22:46:16 +00:00
Alex Pasadyn 330179f956 Implemented EnumDisplaySettings* and ChangeDisplaySettings*. 2003-04-22 00:15:48 +00:00
Alexandre Julliard 69ace8ca6c Use the right buffer size in SYSPARAMS_Load instead of some random
value.
2003-03-30 03:09:39 +00:00
Adam Gundy 96c7034619 Initialize lpLogFont->lfQuality to the default. 2003-03-30 01:33:58 +00:00
Alexandre Julliard a65a8a6a8e Moved 16-bit dialog routines to a separate dialog16.c file.
Fixed window creation to create ASCII windows when called through one
of the ASCII dialog functions.
2003-03-28 19:40:37 +00:00
Stephan BEUZE 1d57f4b47d Implemented a default behavior for SPI_GETGRADIENTCAPTIONS flag in
SystemParametersInfoA.
2003-03-26 01:23:38 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Tony Lambregts 7ce3a5ad63 Replace DPRINTF with TRACE. 2003-03-14 04:11:17 +00:00
Alexandre Julliard 7e92c9af7b Replaced most uses of the auto-generated glue code by explicit calls
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Eric Pouech 12b7c26e0d Only print 4 hexdigits for tid. 2003-02-26 04:36:54 +00:00
Andreas Mohr 034000b68d Convert Twips values from the registry. 2003-02-19 22:04:46 +00:00
Alexandre Julliard ac13d2f47e Print thread ids in traces with only 4 digits now that they are small
integers.
2003-02-18 23:29:47 +00:00
Duane Clark 5d35bc7428 Correctly encode wParam for WM_SYSCOMMAND,SC_SIZE messages. 2003-02-18 23:24:57 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Alexandre Julliard e5fb975a6e Added dead keys support using X input methods (based on a patch by
Dmitry Timoshkov).
2003-01-23 01:29:58 +00:00
Francois Gouget 389df3db5c Extend the code to set both the Win9x and the NT registry keys. Only
the NT keys are authoritative (i.e. we set the Win9x keys but don't
re-read them).
2003-01-20 23:25:14 +00:00
Alberto Massari bf9390e7d2 Handle the WS_EX_LEFTSCROLLBAR style (that is, draw the vertical
scrollbar on the left side of the control).
2003-01-14 23:41:01 +00:00
Duane Clark 36d84c04f7 Check for pending X events before getting queue status. 2003-01-14 19:32:42 +00:00
Dmitry Timoshkov 5261df0306 Post correct notification code on WM_CLOSE for dialogs. 2003-01-14 19:29:15 +00:00
Francois Gouget 6fed1e3738 Update the registry keys of SPI_ICONHORIZONTALSPACING,
SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP.
The SPI_SETBORDER test leaves an incorect border setting and is just
too erratic: comment it out for now.
Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and
SPI_SETWORKAREA to not cause the icons to be reorganized.
Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior
differs accross Windows platforms.
On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767.
The registry keys and values stored in them for
SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the
Windows platform: ignore them.
No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it.
The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says
so!) and varies accross Windows platforms. Ignore it.
Always check the SystemParametersInfoA return code as it fails in very
strange ways on some platforms. Skip unsupported settings.
Skip Unicode tests on platforms that don't support it.
2003-01-13 20:40:22 +00:00
Robert Shearman 72e64900c2 SPI_GETMINIMIZEDMETRICS implemented. 2003-01-13 18:29:03 +00:00
Alexandre Julliard 04d5963871 Print the message name for registered messages. 2003-01-11 21:07:50 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard 8ba666f3a7 Store the keyboard state in the thread input structure on the server
side.
2003-01-08 19:56:31 +00:00
Duane Clark 632d0c2df0 WS_CAPTION is a two bit field, so test appropriately. 2003-01-08 19:53:47 +00:00
Alexandre Julliard 242e395bbc Store the hardware messages in the thread input structure, not in the
thread queue. Get rid of the cooked messages queue.
2003-01-08 00:27:58 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Duane Clark 3800e91eb5 A window with a WS_EX_APPWINDOW extended style can also get a menu. 2003-01-07 19:46:31 +00:00
Dimitrie O. Paun 221ffc5e9c UpdateWindow returns a BOOLean. 2002-12-19 04:14:19 +00:00
Rein Klazes 6f9b686b5a Fix an A/W structure size bug in DrawCaptionTempW(). 2002-12-16 22:12:11 +00:00
Dimitrie O. Paun 737d4be892 Move excpt.h out of include/msvcrt/ as it does not conflict with any
standard Unix header.
2002-12-12 23:34:01 +00:00
Mike Hearn 9ea673a4d8 Make WM_MOUSEHOVER coordinates client relative. 2002-12-10 19:05:12 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Alexandre Julliard 1b20db4f19 Added CS_DBLCLKS style to dialog window class. 2002-11-25 21:10:23 +00:00
Matthew Davison 3f17416ad2 Fix some unicode->ascii calls. 2002-11-24 22:13:26 +00:00
Mike Hearn 43a0a51540 Altered WM_MOUSEHOVER so the lParam and wParam fields are set
correctly to virtual key states and cursor position.
2002-11-23 01:12:17 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Alexandre Julliard 7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Stefan Leichter 2c7567251e Moved implementation of Get/SetClassLong from ascii to unicode. 2002-11-21 21:48:27 +00:00
Stefan Leichter ab73d6e903 Replaced CreateDCA by CreateDCW in LoadImageW. 2002-11-21 21:48:06 +00:00
Jukka Heinonen 1a665058e8 Removed last users of msdos/interrupts.c. 2002-11-21 00:02:09 +00:00
Stefan Leichter 5d0b987151 Moved implementation of LoadKeyboardLayout from ASCII to Unicode. 2002-11-18 19:47:20 +00:00
Stefan Leichter 27faf02e0b Moved implementation of EnumDisplaySettings from ASCII to Unicode. 2002-11-18 19:44:46 +00:00
Ryan Cumming dc71624d59 Make LookupIconIdFromDirectoryEx16 call LookupIconIdFromDirectoryEx,
instead of the other way around.
2002-11-18 19:41:53 +00:00
Tony Lambregts c702ae8ab9 Fix SM_CYVTHUMB, SM_CXSMSIZE, SM_CXMENUCHECK and SM_CYMENUCHECK. 2002-11-15 01:35:16 +00:00
Alexandre Julliard 3f61afbbc8 Added ReleaseDC function to the USER driver interface. 2002-11-14 22:30:20 +00:00
Alexandre Julliard a817568231 Fixed sign problem in GetWindowWord/Long check for offset larger than
the window extra bytes.
2002-11-13 19:49:29 +00:00
Mike McCormack 2d106a5706 Fix a few GDI memory leaks. 2002-11-13 19:43:53 +00:00
Eric Pouech b6aad50245 Implemented a Wine-only scheme for interprocess WinHelp message
passing.
2002-11-11 22:20:47 +00:00
Dmitry Timoshkov 46c80c8876 Fix copy/paste bug. Make MessageBox without an icon look better. 2002-11-11 19:52:33 +00:00