Commit Graph

487 Commits

Author SHA1 Message Date
Gerard Patel cf2ff27f5f Recalculate menu sizes if WM_INITMENU has recreated/changed something. 2001-03-14 17:24:59 +00:00
Dmitry Timoshkov a62f06d027 Yet another attempt on fixing notifications in the edit control. 2001-03-13 23:31:08 +00:00
Dmitry Timoshkov 87880c5e23 Fixed notifications of the edit control. 2001-03-10 19:16:46 +00:00
Gerard Patel d36a3ef385 Call DefWindowProc for WM_CTLCOLORSTATIC message when the apps does
not.
2001-03-10 19:16:26 +00:00
Francois Gouget 3d0589ae7d Fixed spelling/typos in comments. 2001-03-10 19:15:49 +00:00
Dmitry Timoshkov fbc3619ca0 Make EDIT_UnlockBuffer cope with destroyed windows. 2001-03-05 19:29:47 +00:00
Eric Pouech a862f68db5 Added a few missing stubs to KERNEL32 and USER32. 2001-02-26 22:33:29 +00:00
Dmitry Timoshkov 52ece0efef Use GetSysColorBrush(COLOR_WINDOW) when there is no brush for drawing
background in listbox.
2001-02-26 22:31:55 +00:00
Dmitry Timoshkov b32c00055c Prepare background while drawing radio buttons and checkboxes. 2001-02-23 01:32:05 +00:00
Alexandre Julliard da2892c0fb Do not allocate any USER data on the system heap. 2001-02-23 01:13:42 +00:00
Guy L. Albertelli 79413eda91 - Restructure PaintText code to remove FillRect from owner-drawn path.
- Change SetFocus to indicate focus set only after Notify is sent to owner.
- Get more info in a trace.
2001-02-20 01:53:12 +00:00
François Gouget b99367e20e debugstr_xxx already does the quoting. 2001-02-14 21:42:10 +00:00
Dmitry Timoshkov 9316fa3db3 Convert menu item to seperator only when string is NULL. 2001-02-14 00:23:45 +00:00
Marcus Meissner 4a69939aa8 Don't crash on close from window manager. 2001-02-13 01:49:06 +00:00
Dmitry Timoshkov bf60453c6a Fix the behaviour of EM_GETLINE message. 2001-02-12 19:15:33 +00:00
James Abbatiello 8ac1acbb1a Ownerdrawn combo boxes should use ODS_COMBOBOXEDIT in the itemState. 2001-02-12 01:17:16 +00:00
Guy L. Albertelli 4782b0e57f - When painting the text, if the control is OWNERDRAWN the issue the
WM_DRAWITEM message.
- Set the focused status at the end of the end of the Setfocus routine.
- Flip the order of updating the list box and issuing the WM_NOTIFY
  for CBN_EDITUPDATE to match native.
2001-01-26 20:59:51 +00:00
Dmitry Timoshkov 40fddf7c1b Do not notify parent of the Edit control on WM_SETTEXT when Edit is
part of the ComboBox.
2001-01-26 20:37:18 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Alexandre Julliard c1d35ccd9b Use DrawFrameControl() instead of OEM bitmaps to paint caption buttons
and menu check marks.
2001-01-24 19:47:57 +00:00
Dmitry Timoshkov 9c446a13cd Protect read-only edit control from modification. 2001-01-22 19:28:27 +00:00
Francois Gouget 05fc3cdf9a Typo fixes in comments. 2001-01-22 02:22:26 +00:00
Josh DuBois d661dbdd6c Specified 'signed' on chars compared to -1. 2001-01-19 20:51:44 +00:00
Dmitry Timoshkov a234db82eb Solve remaining problems with scroll bars in the edit control. 2001-01-19 20:49:54 +00:00
Dmitry Timoshkov df793bcb68 Add one missing buffer size rounding in the edit control.
Make rounding code slightly more readable.
2001-01-15 20:20:31 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
James Hatheway f3ea345b2d Guard against incoming string of NULL in WM_SETTEXT. 2001-01-12 23:01:41 +00:00
Dmitry Timoshkov 785203ced8 Fix the return value of WM_GETTEXT in the edit control. 2001-01-11 20:17:21 +00:00
Dmitry Timoshkov 376beadaaa Various combobox fixes. 2001-01-11 20:17:07 +00:00
Dmitry Timoshkov f77709ea19 Synchronize the sizes of the external and internal buffers at start
and end of message processing in the edit control.
2001-01-10 23:55:02 +00:00
Gerard Patel db8fb6f387 Fixed returned length for LB_GETTEXT. 2001-01-10 23:54:46 +00:00
James Hatheway ba9b96457d es->buffer_size is not always the length of the text currently in the
editbox, so use -1 instead.
2001-01-10 22:54:33 +00:00
Dmitry Timoshkov 7462099847 Added unicode window proc for the listbox control.
Replaced all ansi calls by their unicode equivalents.
Removed use of the custom local heap.
2001-01-09 21:51:04 +00:00
Ulrich Czekalla b3da1ac0cd Ensure there is an edit control when we reset contents. 2001-01-09 20:49:53 +00:00
Dmitry Timoshkov 4866ac0859 Combobox should clear its current selection on response to
CB_SETCURSEL(-1) message.
2001-01-07 21:43:49 +00:00
François Gouget 75b278e9dd Modify the look of bitmap menu items to match Win95 and Win98
Fix the sunken edge/bitmap overlap in the Win98 look
Introduce an IS_MAGIC_ITEM macro to test if the item is 'magic'
2001-01-06 01:45:51 +00:00
Andreas Mohr 85ba8798b5 Took a stab at implementing LBS_NOSEL. 2001-01-06 00:34:14 +00:00
Dmitry Timoshkov f5f9f2cc51 Added unicode window proc for combobox control.
Replaced ansi calls by their unicode equivalents.
2001-01-05 22:21:18 +00:00
Dmitry Timoshkov 009c1f8005 Added unicode window proc for the static control.
Replaced ansi calls by their unicode equivalents.
2001-01-05 22:20:57 +00:00
Dmitry Timoshkov 11dbda6bf9 Fixed some problems with scrolling in the edit control. 2001-01-05 03:40:35 +00:00
Francois Gouget 5818240965 Fixed the alignment of the MF_RIGHTJUSTIFY menu items. 2001-01-04 20:56:43 +00:00
Aric Stewart fe9a0f0977 Fixed a problem where when deleting an item using index -1 on an empty
listbox we would pass through an illegal negative index and cause
problems.
2001-01-04 19:27:03 +00:00
Andreas Mohr a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Dmitry Timoshkov 366c0a16a5 Fix remaining signed/unsigned mismatches. 2000-12-22 20:28:05 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Dmitry Timoshkov 8058ead8ea Don't write to buffer with zero length.
Removed some unused function parameters.
2000-12-21 20:19:21 +00:00
Dmitry Timoshkov f8b96e272a Make new edit control allocate its buffers with granularity 32 byte.
Ensure that all copied strings are 0 terminated.
2000-12-20 18:39:14 +00:00
Dmitry Timoshkov 4e62b9df8b New unicode edit control. 2000-12-19 19:36:49 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Ulrich Czekalla 7c55bc0cd6 Only capture mouse when an item is selected. 2000-12-15 22:58:25 +00:00