Commit Graph

662 Commits

Author SHA1 Message Date
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
Rein Klazes 26b2e89812 Compare the two items in LISTBOX_FindStringPos() in the same order as
in Windows.
2003-04-08 19:41:52 +00:00
Alexandre Julliard 98bcdf9e5d Revert broken change to the scrollbar position adjustment code. 2003-03-24 19:36:17 +00:00
Tony Lambregts 2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Andrew Johnston 7b56b79f74 Move keyboard event processing from WndProc code into the existing
helper.
Create a helper function for the create event and clean up code.
Remove macro for detecting invalid SCROLLINFO structures and make it
an inline function.
2003-03-07 23:08:38 +00:00
Adam Gundy 6199e6029a Allow modifying a menu string to be NULL. 2003-03-07 23:03:27 +00:00
Andrew Johnston 7277d20c69 - GetScrollRange zeros the return parameters for no infoPtr
- GetScrollRange, GetScrollPos and GetScrollInfo send a message to the
  window for the SB_CTL case
- Moved code for GetScroll* to into worker functions
2003-03-07 20:38:20 +00:00
Tony Lambregts 6dc4cb4b7a Janitorial. Get rid of W->A call. 2003-03-04 02:14:58 +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
Alexandre Julliard 6356a44160 Authors: Sander van Leeuwen <sandervl@xs4all.nl>, Dietrich Teickner <Dietrich_Teickner@t-online.de>
- Fixed incorrect undo buffer size (previous code caused heap
  corruption when using backspace many times).
- Always kill timer when left mouse button is released and in captured
  state.
2003-02-19 22:04:03 +00:00
Alexandre Julliard 27fba89d03 Removed flag checks in SetMenuItemInfoA, NT doesn't do this. 2003-01-16 01:17:34 +00:00
Mike Hearn ac8e75284a Fail SetMenuItemInfo if both MFT_BITMAP and MFT_SEPARATOR are
specified (an api violation).
2003-01-15 00:51:38 +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
Robert Shearman 9caa6bafc0 Move internal implementation into the exported function
DrawMenuBarTemp.
2003-01-14 19:28:49 +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
Duane Clark a3b5780491 Need to initialize tracking value on mousedown. 2002-12-17 21:00:11 +00:00
Alberto Massari 3d60c63adf Set the ODS_DISABLED bit when the item is grayed. 2002-12-17 04:16:31 +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
Robert Shearman bcca0cb395 Add support for painting SBS_SIZEBOX style properly. 2002-11-25 01:09:24 +00:00
Alexandre Julliard 101c430957 Fixed use of HBMMENU_* in switch statements. 2002-11-22 22:25:59 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00