Commit Graph

683 Commits

Author SHA1 Message Date
Alexandre Julliard 7465011a93 Fixed typo in previous change. 2004-03-20 19:27:10 +00:00
Huw Davies effbadcbe8 TranslateAccelerator should only ignore commands when mouse capture is
in effect or the window is disabled, if the command corresponds to a
menu item.  Otherwise it should process them as normal.
2004-03-18 04:00:36 +00:00
Huw Davies 66c1accb6f Invalidate the focused item when scrolling horizontally so that it
repaints correctly.
2004-03-18 04:00:08 +00:00
Alexandre Julliard 22508e576f FindFirstFile can return an empty short name if the long name is a
valid DOS name, fixed callers to handle that properly.
2004-03-17 01:50:27 +00:00
Ulrich Czekalla 00d0d7f21f Add cast to correctly interpret signed coordinate values. 2004-03-16 19:12:40 +00:00
Huw Davies 30dc42912e We need to set the new text even if the old text string was NULL. 2004-03-11 00:41:28 +00:00
Justin Chevrier 0a25dd4668 Move implementation of SysParametersInfo from Ascii to Unicode. 2004-03-04 01:41:11 +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
Alexandre Julliard a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Ge van Geldorp 545ecf2ef3 Set upper-left corner of destination to (0, 0), using
GetBitmapDimensionEx doesn't make sense.
2004-02-10 20:09:04 +00:00
Alexandre Julliard c273407429 Fixed TrackPopupMenu return value (based on a patch by Andreas
Rosenberg).
2004-02-09 22:02:55 +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
Alexandre Julliard b0622101b6 System classes must not have the CS_GLOBALCLASS style. 2003-12-10 04:14:35 +00:00
Huw Davies d105fe2169 Only honour SBS_SIZEBOX*ALIGN styles if SBS_SIZE{GRIP,BOX} is set. 2003-12-03 03:55:12 +00:00
Aric Stewart e819535588 Invalidate items on set selection. 2003-12-02 05:28:26 +00:00
Alexandre Julliard 3f1372466b Authors: Aric Stewart <aric@codeweavers.com>, Huw Davies <huw@codeweavers.com>
Some support for SBS_SIZEGRIP.
2003-12-02 05:27:54 +00:00
Dmitry Timoshkov 86e4079bc2 Make Alt+[national key] menu shortcuts work. 2003-11-26 05:08:48 +00:00
Alexandre Julliard b7976c00a0 Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Dmitry Timoshkov f2963aeb86 Make national (hot)keys work in menus. Make menu code use unicode APIs. 2003-11-18 19:42:31 +00:00
Carlos Lozano 1351566456 Fixed CB_DIR16 handling. 2003-11-14 20:58:36 +00:00
Huw Davies 75101add12 Add support for CBS_{LOWER|UPPER}CASE. 2003-11-11 21:55:19 +00:00
Huw Davies 4c7b65db8c We need to invalidate the replaced text region before calling
EM_ScrollCaret as this may call ScrollWindow.  Previously newly added
lines were not displayed if the edit needed to scroll.
2003-11-11 00:26:53 +00:00
Huw Davies f11b022fbb Ownerdraw buttons should erase themselves in WM_ERASEBKGND. 2003-11-11 00:26:29 +00:00
Dmitry Timoshkov f962a792ec Always repaint scroll bar if requested. 2003-11-04 04:21:15 +00:00
Huw Davies 137f41d126 WM_LBUTTONDOWN calls SetFocus under Windows. Remove the SetFocus in
WM_MOUSEACTIVATE.
2003-11-03 22:15:59 +00:00
Rein Klazes 0de8b21890 A WM_CREATE message sent to an Edit window procedure should
return 1. Power Builder masked edit controls depend on it.
2003-10-21 23:49:03 +00:00
Oleg Prokhorov de12a97041 Another portion of HeapReAlloc fixes. 2003-10-14 05:24:20 +00:00
Alexandre Julliard 1084a8ba93 Moved out of windef.h a few definitions that don't belong there
(reported by Filip Navara).
2003-09-17 04:31:27 +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
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
Igor Grahek ed31f0ce5b Send STN_CLICKED ad STN_DBLCLK messages to parent window if SS_NOTIFY
is enabled.
2003-08-23 00:46:34 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Dmitry Timoshkov 03ca764005 WM_PAINT(wParam) might be a valid HDC. 2003-08-11 18:43:07 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Francois Gouget 61aac4eaa1 Fix some typos. 2003-06-04 20:29:05 +00:00
Mike Hearn bf9e3841e7 Update listbox directory mode to new FindFirstFile error code. 2003-06-04 20:21:45 +00:00
Rein Klazes a762b4ce2f Revert the WM_GETDLGCODE handling patch completely this time. It
breaks too much.
2003-05-19 21:40:31 +00:00
Rein Klazes eb359e26ca Revert the previous patch for capturing keys in an edit-listbox combo. 2003-05-15 04:14:53 +00:00
Vitaliy Margolen 11c534f6cf Fix problem with capturing [return] keys in multi-line edits. 2003-05-13 03:37:24 +00:00
Aric Stewart 199449d60e Added handling of WM_IME_CHAR. 2003-05-12 03:24:10 +00:00
Dmitry Timoshkov 49fef46967 Added definition of SS_USERITEM. 2003-05-12 03:23:15 +00:00
Alexandre Julliard cfd60b217b Don't track the system menu for managed windows. 2003-05-12 03:19:03 +00:00
Christian Costa 6e7d78eec9 Add missing ReleaseDC in EDIT_BuildLineDefs_ML. 2003-05-11 03:27:23 +00:00
Maxime Bellengé 4eae772f89 Correctly fill the background of a checkbox button. 2003-05-08 17:31:35 +00:00
Achim Kaiser 6d3ce418be Take font metrics into account for EC_USEFONTINFO margins. 2003-05-06 18:23:17 +00:00
Maxime Bellengé 7ba2a371d3 - Fix some indentation problems.
- Handle correctly the alignement of the checkboxes if the
  BS_TOP/BS_BOTTOM flags are set.
2003-04-30 23:57:43 +00:00
Brad Campbell 4ba690e620 EM_REPLACESTR was not respecting buffer_limit. 2003-04-27 00:32:22 +00:00
Alexandre Julliard b650372b86 Don't bother sending WM_NCCREATE to the desktop window, this doesn't
work anyway (spotted by Uwe Bonnes).
2003-04-19 21:27:19 +00:00