Commit Graph

673 Commits

Author SHA1 Message Date
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
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