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
Louis Philippe Gagnon
956c847f49
Invalidate the focus rect when a listbox is resized.
2000-12-13 21:26:45 +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
Alexandre Julliard
9877906b26
Removed dependencies on the internals of the CLASS structure.
...
Added support for having both ASCII and Unicode window procedures for
builtin classes.
2000-12-07 23:39:16 +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
Patrik Stridvall
2b3aa616e8
Added/modified documentation for function arguments.
2000-12-01 23:58:28 +00:00
Louis Philippe Gagnon
537bcadf55
Don't update scrollbars when processing WM_DESTROY.
2000-11-30 20:37:29 +00:00
Andreas Mohr
94a6832b04
WM_SETTEXT should return TRUE on success.
2000-11-29 00:02:46 +00:00
Dmitry Timoshkov
2b4be4be93
Made button control fully unicode aware.
2000-11-28 23:51:48 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Louis Philippe Gagnon
9cdd22c53d
When processing mouse messages in MENU_TrackMenu, use the coordinates
...
in lParam instead of those in MSG::pt.
2000-11-27 22:39:35 +00:00
Alexandre Julliard
2682bc24ca
Fixed a few dependencies on 16-bit or internal functions. Fixed a few
...
warnings.
2000-11-27 22:03:23 +00:00
Alexandre Julliard
ac7efef3b5
Changed GetProcAddress16 and 16-bit resource functions to take normal
...
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Dmitry Timoshkov
7a947b34b7
General clean up of the edit control: removed transfer of unused
...
variables, fixed signed/unsigned mismatches.
2000-11-27 01:34:25 +00:00
Chris Morgan
cbbc7c3d60
Don't draw scrollbars if their client rectangle is empty.
2000-11-26 22:36:53 +00:00
Ove Kaaven
2c691b31ce
Implemented Win16 behaviour of DDL_DRIVES in DlgDirList.
2000-11-25 03:06:03 +00:00
Dmitry Timoshkov
9308f640c1
Prepare switching to unicode of builtin widgets.
2000-11-15 23:05:52 +00:00
Joerg Mayer
abe635cfd7
Get rid of some warnings about unused variables, signed/unsigned
...
comparisons and incomplete initializations.
2000-11-11 00:38:37 +00:00
Francois Gouget
0c247ec775
Fixed typos in comments.
2000-11-07 20:30:50 +00:00
Francois Gouget
75f9e647aa
Take into account the sunken border for Win98 look.
...
Leave a 1 pixel gap to the left of menu bitmap items for symetry (and
because Win9x does it).
Leave a 1 pixel gap above menu bar items for symetry (and because
Win9x does it).
2000-11-06 05:25:29 +00:00
James Abbatiello
606f6203d4
Don't reset MF_POPUP flag in SetMenu().
2000-11-05 03:18:11 +00:00
Dmitry Timoshkov
d5e15d3be1
Do not invert "magic" bitmap menu items.
2000-11-02 20:08:34 +00:00
Alexandre Julliard
908464d448
Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
...
Various warning fixes.
2000-11-01 03:11:12 +00:00