Commit Graph

702 Commits

Author SHA1 Message Date
Krishna Murthy ca8e313982 Modified EDIT_EM_Undo(): Removed undo buffer length check for
empty. EDIT_EM_ReplaceSel() is called with send_update parameter set
to TRUE.
2004-06-18 22:29:05 +00:00
Dmitry Timoshkov 5d8effce0f Use better dimensions for MDI system menu buttons to avoid MDI client
window resizing.
2004-06-18 19:31:57 +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 674c302c85 Make SetScrollRange behave like GetScrollRange does, i.e. send
messages to the control for SB_CTL case.
2004-06-14 16:55:53 +00:00
Krishna Murthy 4af4ba4c7a EDIT_EM_ReplaceSel should simply truncate characters that exceed the
limit.
2004-05-29 00:21:51 +00:00
Ulrich Czekalla a935c2afd2 Fix update region calculation for the case where a word wraps up to
the previous line.
2004-05-25 18:04:48 +00:00
Oleg Prokhorov 616cffb8b7 Removed DT_NOCLIP format flag. 2004-05-25 04:49:22 +00:00
Rein Klazes b64c89c59a When repainting a static control, with SS_BITMAP style, do not erase
the background. Keep sending the WM_CTLCOLORSTATIC notification as
Windows does.
2004-05-25 04:03:21 +00:00
Thomas Weidenmueller c4be01a745 Combobox popups should be always-on-top. 2004-05-17 19:49:19 +00:00
Krishna Murthy a7c3107148 EM_UNDO should always return TRUE for single line edit. 2004-05-07 00:40:18 +00:00
Alexandre Julliard eed647d0ad Remove bitmaps that were only used for the 3.1 look. 2004-05-05 23:50:37 +00:00
Steven Edwards 55954f2936 Remove unused header. 2004-05-05 19:00:44 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Ge van Geldorp 7214fdfca4 Setup menu drawing colors before calling owner draw routine. 2004-04-16 23:30:15 +00:00
Bobby Bingham 9c141d4a80 Fix tracking the currently highlighted item in menus when the mouse
button is not held down.
2004-04-02 19:29:18 +00:00
Dimitrie O. Paun abe9c975a8 Remove the rest of the Tweak look hack. 2004-04-01 21:06:14 +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 bd5c18c3f1 Scrollbar should also react on WM_LBUTTONDBLCLK. 2004-03-29 22:56:01 +00:00
Lionel Ulmer 28d9aafc81 Add some TRACEing to the edit control. 2004-03-29 22:54:05 +00:00
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