Susan Farley
b6866d7f20
Disable the edit box when created with WS_DISABLED.
2001-05-31 21:39:21 +00:00
Mike McCormack
75194d2853
Only draw the padding area of the combo box, don't erase the combo
...
selection text.
2001-05-09 17:13:41 +00:00
Marcus Meissner
f05618bd00
Do not HeapFree() memory not allocated by us in COMBO_GetText.
...
Convert return value from LB_GETTEXT into COMBO_GetText.
2001-05-02 01:08:59 +00:00
Mike McCormack
ed90b185f2
Draw the padding area of a combo box.
2001-04-30 18:17:46 +00:00
Dmitry Timoshkov
d62c3f16ac
Remove redundant sending of WM_DRAWITEM message to ownerdrawn
...
combobox.
2001-04-17 17:29:31 +00:00
Dmitry Timoshkov
6df245dd68
Really do not roll up if selection is being tracked by arrow keys in
...
the dropdown listbox.
2001-04-09 18:30:25 +00:00
Guy L. Albertelli
627aa4d772
Native version seems to always re-draw the selected text at the end of
...
a rollup.
2001-03-20 01:51:58 +00:00
Francois Gouget
3d0589ae7d
Fixed spelling/typos in comments.
2001-03-10 19:15:49 +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
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
Francois Gouget
05fc3cdf9a
Typo fixes in comments.
2001-01-22 02:22:26 +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
Dmitry Timoshkov
376beadaaa
Various combobox fixes.
2001-01-11 20:17:07 +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
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
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
bf67259a41
Use the DRIVE_* API constants instead of the DRIVETYPE enum.
...
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +00:00
Alexandre Julliard
91222da881
Moved most builtin controls structures into their respective C file.
...
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Louis Philippe Gagnon
cef7c7af61
Update internal controls on WM_WINDOWPOSCHANGED.
2000-12-06 03:21:57 +00:00
Aric Stewart
6213ab3a89
Fixed a problem where the string in a combo box flickers if you
...
rapidly reset the content and then replace the content.
2000-12-05 21:12:05 +00:00
Andreas Mohr
94a6832b04
WM_SETTEXT should return TRUE on success.
2000-11-29 00:02:46 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Andreas Mohr
45c9fd892f
- set the item height not only for the listbox, but also for the text field
...
- center text vertically
- beautify comments
2000-10-28 00:29:58 +00:00
Susan Farley
a4251bbe4c
Do not block CBN_EDITCHANGE for WM_PASTE or WM_CUT with the
...
NOEDITNOTIFY flag, as these msgs can come directly from the app to the
combo wndproc.
2000-10-24 01:38:49 +00:00
Susan Farley
597cb552ce
Update the edit box before rolling up the listbox, so the
...
selection isn't lost.
2000-08-14 17:18:49 +00:00
Alexandre Julliard
b0efe28f6c
Removed a few dependencies on GDI internals from USER dll.
2000-08-04 04:18:04 +00:00
Susan Farley
7251640113
Don't clear selection when initial entry is not in the list.
2000-07-15 21:27:32 +00:00
Gerard Patel
d292234835
Set the minimum dropped height to the combo list height if any in
...
CBDropDown.
2000-06-25 12:47:59 +00:00
Gerard Patel
c9e6031dca
CB_SETCURSEL should not generate another listbox event after updating
...
the edit box.
2000-06-18 17:20:37 +00:00
Serge Ivanov
9926d33450
- ComboLBox is always created as child of ComboBox. If ComboBox has style
...
other than CBS_SIMPLE, parent of listbox is set to desktop.
- In CBDropDown. ComboBox uses only first item to calculate height of
dropped listbox. Also if listbox is empty its height is unmodified
(previously it was set to 0).
- Added correct handling of WM_GETDLGCODE and WM_(SYS)KEYDOWN messages.
- General clean-up. Message order is now more precise (at least
notifications to client); listbox - combobox interaction has slight
differences comparing to Windows.
2000-06-07 03:48:02 +00:00
David Grant
8a92213111
- Creating combobox with CBS_SIMPLE style shall set internal flag CBF_EDIT.
...
- Edit text must be selected only if CB is in focus.
- If CB has edit control we have to call CBUpdateEdit to update its
contents. Invalidating textRect will not force updating of child
edit control, obviously.
- We have to protect ourselves from changing selection in listbox when
we receive listbox notification. So LBN_SELCHANGE -> CBUpdateEdit ->
EN_CHANGE will not reselect item in the lisbox.
2000-05-30 17:48:33 +00:00
Alexandre Julliard
dcc175de6a
Owen Wang
...
When you click on an icon to open a combo box, you would expect it to
be enabled so you can choose something in it. In Wine this was not
guaranteed since your default flags could get lost in the process-heap
of the application.
2000-05-30 15:28:06 +00:00
Stephane Lussier
4bdf4af11e
Implemented Mousewheel support.
2000-04-18 11:56:33 +00:00
Huw D M Davies
2e34030a02
Stop a WM_SETTEXT message (and friends) to a combo sending CBN_EDIT*
...
messages to the parent.
2000-03-24 19:44:39 +00:00
Jeremy White
d3e22d9d55
Removed #include of wingdi.h and windef.h from winuser.h (and resolved
...
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Dmitry Timoshkov
cd207587ec
ComboBox should not send bogus messages to edit buddy and to itself.
1999-12-12 20:47:45 +00:00
Dmitry Timoshkov
38d04b8ff4
Allow to deselect all items by sending CB_SETCURSEL(-1) to the combo.
1999-12-06 00:57:20 +00:00
Dmitry Timoshkov
92f376f78b
Show use of undocumented messages.
1999-12-05 02:45:10 +00:00
Dmitry Timoshkov
f4a27b8d41
When combobox selection changes, update its edit box accordingly.
1999-11-28 19:45:58 +00:00
Jim Aston
aebda22e61
Fixed the height of the ComboBox drop list.
1999-11-07 21:04:57 +00:00
Gerard Patel
8c36254147
Make WM_GETTEXTLENGTH return length for dropdownlist combos.
1999-10-13 13:50:17 +00:00
Francis Beaudet
f132872741
Implemented the disabled state of the combobox.
1999-09-19 14:09:52 +00:00
Pierre Mageau
25c62cc61f
Set the mouse capture on the combo listbox.
1999-09-11 16:26:03 +00:00
Pierre Mageau
a433582363
Modified CBDropDown to find the best height of the listbox.
1999-09-05 12:12:30 +00:00
Francis Beaudet
28d2ccb07c
Fixed the look of the combobox's drop down button when in Win95 look.
1999-08-14 15:51:49 +00:00
Francis Beaudet
bc0b020428
Fixed the border for the listbox created by the simple combobox.
1999-07-30 17:57:45 +00:00
Francis Beaudet
ba296e3898
Fixed fake WM_LBUTTONUP message.
1999-07-18 15:36:08 +00:00