Huw Davies
1b89fe4976
user: Don't automatically add a bunch of styles in create_editcontrol.
2006-01-27 15:47:32 +01:00
Rein Klazes
ec23fb3a92
user: Fix DrawTextExA/W on empty strings.
...
DrawTextExA/W should calculate a rectangle of zero height and width in
some cases of null or empty supplied strings. With conformance tests.
2006-01-27 15:47:15 +01:00
Dmitry Timoshkov
ac4de71f85
user: Postpone resetting SCROLL_TrackingWin untill all notifications are sent.
2006-01-27 12:10:40 +01:00
Vitaliy Margolen
dd57bbd1d2
user: Don't drop owned windows in WIN_EnumChildWindows.
...
Add a few tests for this.
2006-01-25 15:07:02 +01:00
Michael Kaufmann
1de825f746
static control: SS_CENTERIMAGE fixes.
...
- Stretch bitmaps and icons to the whole control size if
SS_CENTERIMAGE is absent
- Draw the background of centered bitmaps and icons with the
background brush (like Windows XP for applications with a manifest)
2006-01-25 13:14:44 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Alexandre Julliard
b7b7f2b679
Avoid importing _strlwr/_strupr from ntdll.
2006-01-24 12:24:05 +01:00
Louis Lenders
d782abff6b
user32: Added stub for UpdateLayeredWindow.
2006-01-23 20:12:52 +01:00
Dmitry Timoshkov
9b1ea63bf9
user32: Make GetMenuItemInfo tests pass under Wine.
...
- Change menu item search algorithm to recurse into a submenu first.
- Fallback to a found submenu if nothing else was found.
2006-01-23 11:59:21 +01:00
Vitaliy Margolen
e383143f18
user: Add missing WIN_ReleasePtr.
2006-01-23 11:24:16 +01:00
Detlef Riekenberg
191d62e7f9
user/tests: Added \n to a few ok() calls.
2006-01-20 16:16:43 +01:00
Ken Thomases
d6865383a6
user: Fixed the lifetime of MDICREATESTRUCT variables.
2006-01-19 12:43:45 +01:00
Jason Edmeades
14889a618d
user: Tests for when the menu is incorrect because of duplication of a
...
menu id and an hMenu.
2006-01-19 11:56:20 +01:00
Michael Kaufmann
73a23606a9
static control: Immediately repaint the control.
2006-01-17 16:09:32 +01:00
Michael Kaufmann
6ca3e6365a
static control: Separate WM_NCCREATE and WM_SETTEXT.
...
- Separate WM_NCCREATE and WM_SETTEXT.
- WM_SETTEXT and WM_SETFONT are ignored for static controls that don't
display text.
- WM_SETTEXT must not be used to change the icon/bitmap/metafile.
- Immediately repaint the control on all occasions.
2006-01-17 16:08:59 +01:00
Michael Kaufmann
97be4fa91d
static control: Don't load OEM bitmaps.
2006-01-17 16:07:10 +01:00
Michael Kaufmann
2ddbc7b6e0
static control: STN_ENABLE and STN_DISABLE notifications.
2006-01-17 16:06:41 +01:00
Michael Kaufmann
2b8cda7162
static control: Better STM_GETIMAGE.
...
STM_GETIMAGE returns NULL if the given image type doesn't match the
control's style.
2006-01-17 16:05:25 +01:00
Michael Kaufmann
46d007cedb
static control: Support SS_REALSIZEIMAGE.
...
- Support SS_REALSIZEIMAGE (this flag means "it's not necessary to
load icons in the default icon size").
- SS_ICON: Ability to display cursors.
2006-01-17 16:04:40 +01:00
Michael Kaufmann
66b5020e02
static control: Support SS_REALSIZECONTROL.
...
- Support SS_REALSIZECONTROL (this flag means "don't resize the
control to the size of the bitmap/icon").
- Always call GlobalUnlock16 after GlobalLock16.
2006-01-17 16:03:44 +01:00
Michael Kaufmann
910f4bb50e
static control: Background of enhanced metafiles.
...
- Always paint the background of static controls displaying enhanced
metafiles.
- Also paint the background if there's no metafile to display.
2006-01-17 16:01:40 +01:00
Michael Kaufmann
7effdb0b23
static control: Support text style flags.
...
- Support DT_END_ELLIPSIS, DT_PATH_ELLIPSIS and DT_WORD_ELLIPSIS.
- Paint simple text without prefixes (SS_SIMPLE | SS_NOPREFIX) with
the ExtTextOut function like the native control does.
- Gray text color: Only for non-simple static controls.
2006-01-17 16:00:47 +01:00
Robert Shearman
a40ce39340
user: Fix WM_QUIT message ordering from PostQuitMessage.
...
Added a new server call as PostQuitMessage should set a flag in the
message queue to return the WM_QUIT message when there are no other
pending messages, rather than posting a message to the thread queue as
it does at the moment.
2006-01-17 13:14:31 +01:00
Rein Klazes
de9400262e
user: Avoid buffer overflow in sysparams.c.
...
Increase buffer size to 12 for getting and setting integer parameters
from/to the registry.
2006-01-16 20:41:57 +01:00
Troy Rollo
b7652d89db
user: Fix return type of EnableMenuItem.
2006-01-10 12:08:48 +01:00
Michael Kaufmann
7ff2a68459
user: Improve the ownerdraw support of the static control.
2006-01-10 12:07:57 +01:00
Michael Kaufmann
37c68b47f4
user: The LoadImage resource string may be a numeric string.
2006-01-10 12:07:32 +01:00
Phil Krylov
a2f883484f
user: Fix dropdown combo creation when there is no space for an edit control.
2006-01-09 18:41:33 +01:00
Mike McCormack
c83a5930b1
user32: Update the list of things to fix in the Combo control.
2006-01-09 17:16:14 +01:00
Rein Klazes
079912c679
user32: Prevent a crash in GetMenuStringA caused by calling strlenW on
...
a NULL pointer, with a test.
2006-01-09 17:13:44 +01:00
Raimonds Praude
860d682c2b
user32: Limit text in the edit field of a combo box.
2006-01-06 21:16:52 +01:00
Michael Kaufmann
e7322e5109
Static control: Support enhanced metafiles.
2006-01-06 21:07:07 +01:00
Rein Klazes
1d4b52c254
user32: Menu tracing improvements.
2006-01-04 14:48:07 +01:00
Rein Klazes
b34868dffa
user32: Separate menu bitmaps and strings.
...
Store bitmaps and bitmaps always in separate fields in the internal
menu structure. Get rid of a lot of assumptions in the code that the
menu can have strings only when it is not some other type and that
bitmaps come in two flavors.
Add a lot of conformance tests, including some submitted by Jason
Edmeades.
2006-01-03 13:23:28 +01:00
Francois Gouget
8ca1f3fc14
Assorted spelling fixes
2006-01-03 12:10:50 +01:00
Vitaliy Margolen
9561d6e29c
gdi: Device name returned from EnumDisplayDevices is valid for CreateDC.
2006-01-03 12:05:54 +01:00
Alexandre Julliard
0e6b4c43de
user/tests: Remove todo_wine from a few tests that (usually) succeed.
2005-12-22 17:15:54 +01:00
Dmitry Timoshkov
b61b82011e
user32/tests: Add a PeekMessage test.
2005-12-22 13:58:11 +01:00
Aric Stewart
314f45dcdb
user: Make the edit control IME aware and implement inline editing.
...
Makes for a significantly better user experience for CJK users.
2005-12-19 18:17:51 +01:00
Vitaliy Margolen
a80d93c5e9
user: Fix LB_GETTEXT unmapping for A<->W.
2005-12-19 18:16:18 +01:00
Rein Klazes
d076748e22
user: Fix hrgn leaks in win.c test.
2005-12-19 17:43:34 +01:00
Lauri Tulmin
86f45494b6
user32: Don't truncate text when creating edit control.
2005-12-19 09:53:19 +01:00
Rein Klazes
3df678a5af
x11drv: Do not use the scroll rectangle for clipping in ScrollDC.
...
With a conformance test.
2005-12-19 09:53:04 +01:00
Dmitry Timoshkov
8d9fb6331e
x11drv: ScrollDC should not clip output if a clipping rect is not specified.
...
Add a ScrollDC test with NULL clipping rect.
Add another set of ScrollDC tests written by Rein Klazes.
2005-12-17 12:24:37 +01:00
Alexandre Julliard
ae964ac801
Take advantage of the __EXCEPT_PAGE_FAULT macro.
2005-12-16 17:17:57 +01:00
Alexandre Julliard
db7920bb44
We no longer need to handle EXCEPTION_PRIV_INSTRUCTION on page faults.
2005-12-16 16:37:12 +01:00
Rein Klazes
13b9923165
user32: Implement saving and fix reading of nonclient metrics.
...
With conformance tests.
2005-12-16 12:38:06 +01:00
Rein Klazes
105450db4a
user: Read/save minimized metrics from/to registry.
2005-12-14 12:27:39 +01:00
Aric Stewart
c50fbab47f
user: GetClipboardFormatNameA fix.
...
In the W->A translation make sure we have characters to translate
before doing the WideCharToMultiByte with -1.
2005-12-14 10:49:54 +01:00
Eric Pouech
28442721fd
Const correctness fixes.
2005-12-12 11:55:49 +01:00
Vincent Béron
834385cad4
Add some missing includes which contain used prototypes.
2005-12-09 11:51:17 +01:00
Alexandre Julliard
ef4dfd4b7a
user: Fixed copy/paste bug in CURSORICON_GetResIconEntry.
2005-12-05 20:41:24 +01:00
Dmitry Timoshkov
b43afeef89
Add a test for LB_SELITEMRANGE, make it pass under Wine.
2005-12-01 11:12:34 +01:00
Dmitry Timoshkov
7d86789758
Add a test for RedrawWindow with an empty region/rectangle, make it
...
pass under Wine.
2005-11-30 19:46:00 +01:00
Vitaliy Margolen
93b63566a5
ShowWindows(SW_SHOWMAXIMIZED) should ignore WS_MAXIMIZE window
...
state. Change tests accordingly.
2005-11-30 12:43:50 +01:00
Vitaliy Margolen
b78784c3f2
New maximized visible window should be shown with
...
ShowWindow(SW_SHOW).
2005-11-30 12:37:47 +01:00
Vitaliy Margolen
aae7632409
CreateWindow should not activate invisible minimized or maximized
...
windows.
Add several tests to show the correct behavior.
2005-11-30 12:32:22 +01:00
Vitaliy Margolen
e95464a5cb
EnumChildWindows should return result from the callback.
2005-11-29 10:40:58 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Dmitry Timoshkov
b9212e2aba
set_menu_item_text handles converting an empty menu item to a
...
separator on its own, give it a chance to do its work in the
MIIM_FTYPE case.
2005-11-28 11:53:20 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
Alexandre Julliard
cc01e8ff05
Preserve 16-byte stack alignment in the various assembly
...
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Rein Klazes
168e0db02c
Make test_SPI_SETBORDER less likely to permanently change visual
...
settings:
- use smaller border widths values for testing;
- provide a work around for a Windows XP feature that made the tests
change the caption width.
2005-11-23 15:19:04 +01:00
Rein Klazes
6154b46bef
GetSystemMetrics fixes with corresponding tests.
2005-11-22 14:56:11 +00:00
Dmitry Timoshkov
7bde557d8a
Choose what window styles to dump (WS_GROUP/WS_TABSTOP vs.
...
WS_MINIMIZEBOX/WS_MAXIMIZEBOX) based on the WS_CHILD style set.
2005-11-21 15:18:32 +00:00
Vitaliy Margolen
83ef91ce2d
Replace inherit flag with object attributes in winstation and desktop
...
create & open. Use OBJ_OPENIF flag to create winstation & desktop.
2005-11-21 12:05:38 +00:00
Kieran Clancy
925a38d9ad
Fix vertical text alignment in static controls.
2005-11-18 15:04:25 +00:00
Dmitry Timoshkov
d3ccaaa54f
Add another test for Z order of child windows.
2005-11-18 12:07:19 +00:00
Detlef Riekenberg
88dcf83495
Made test loadable on win95 again (EnumDisplayDevicesA not present).
2005-11-17 11:04:01 +00:00
Dmitry Timoshkov
2ca23be50f
Add a test for some edit control behaviours, make it pass under Wine.
2005-11-16 11:22:54 +00:00
Dmitry Timoshkov
0f7ef4bd8d
Do not change focus if the being activated window is no longer
...
active.
2005-11-15 16:53:26 +00:00
Alexandre Julliard
80b997a2cc
Added support for the QS_ALLPOSTMESSAGE flag.
2005-11-14 15:17:09 +00:00
Rein Klazes
8f3b9d506b
Fix SysparametersInfoA( SPI_SETICONMETRICS), the A<->W conversion was
...
rather broken.
Make the SPI_{G|S}ETICONMETRICS functions more consistent with those
for SPI_ICON{HORIZONTAL|VERTICAL}SPACING, SPI_{G|S}ICONTITLEWRAP and
SPI_{G|S}ICONTITLELOGFONT.
Accordingly extend the corresponding tests.
2005-11-14 15:12:14 +00:00
Dmitry Timoshkov
0940654da7
Fix message tests to run cleanly on Windows XP SP1.
2005-11-14 11:24:06 +00:00
Dmitry Timoshkov
6b379c8c2c
Convert some ERRs to WARNs in the DDE client code when appropriate.
2005-11-11 10:53:44 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Francois Gouget
f4c0524ec6
Assorted spelling and case fixes.
2005-11-10 11:39:07 +00:00
Francois Gouget
2adb302a99
Add trailing '\n's to ok() and TRACE() calls.
2005-11-10 11:17:38 +00:00
Christian Costa
24a3ae0601
If a color bitmap is provided, store bitmap information from it
...
instead of the mask bitmap one.
2005-11-09 10:57:57 +00:00
Alexandre Julliard
68b8a4ab69
Don't call SetWindowPos in ShowWindow if a parent window is not
...
visible, only toggle the WS_VISIBLE flag.
2005-11-09 10:35:48 +00:00
Markus Amsler
86b6749208
Improve c2man Documented-Total count. Changes:
...
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-09 10:33:40 +00:00
Rein Klazes
7e6b325929
Re-enable SPI_{GET,SET}BORDER tests and fix the bugs that caused them
...
to be disabled.
Add tests that show that the border value manipulated by
SPI_{GET,SET}BORDER is completely the same as with
SPI_{GET,SET}NONCLIENTMETRICS.
Fix a few signed/unsigned warnings in unrelated tests from the same
source file.
Made the tests pass on wine.
2005-11-08 19:58:37 +00:00
Michael Kaufmann
e9310da57b
Handle WM_PRINTCLIENT.
...
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Rein Klazes
53b1d05164
Make SystemParametersInfoA( SPI_SETNONCLIENTMETRICS, ...) work by
...
adding the needed non client metrics A->W conversions.
2005-11-07 16:39:21 +00:00
Christian Costa
93047e275e
When creating black & white cursor icon, handle special case where
...
hbmColor is null and hbmMask specify a bitmap having twice the height
and formatted so the upper half is the icon AND bitmask and the lower
one is the OR bitmask.
2005-11-07 11:07:43 +00:00
Michael Kaufmann
4770d57a09
Scroll bar: Keep the caret blinking during scroll operations (only
...
handle WM_SYSTIMER messages that belong to the scroll bar).
2005-11-03 09:51:42 +00:00
Michael Kaufmann
8eaca69b39
ScrollWindowEx: Don't move the caret of child windows and hide it only
...
if it's in the source or in the destination rectangle.
2005-11-01 09:53:59 +00:00
Alexandre Julliard
bc30574383
Default to the null driver instead of dying if the specified display
...
driver couldn't be loaded.
2005-10-31 15:54:55 +00:00
Dmitry Timoshkov
2dc8067408
Add the tests for behaviour of [In]validateRect and [In]validateRgn
...
with hwnd set to 0, make them pass under Wine.
2005-10-31 15:45:16 +00:00
Michael Kaufmann
aa97e9164e
Handle the left and right arrow keys.
2005-10-30 19:05:42 +00:00
Saulius Krasuckas
d599020853
Don't pass CreateThread() with a NULL pointer to TID as Win9x does not
...
create a thread then.
2005-10-28 10:41:48 +00:00
Dmitry Timoshkov
26b40c296f
Add some missing USER definitions, add a couple of FIXMEs for not
...
implemented features.
2005-10-27 18:28:23 +00:00
Vitaliy Margolen
1e16caf55d
Add test for undocumented 0x4D message sent on F1.
2005-10-27 12:31:04 +00:00
Mike McCormack
d2232bf88c
Add a currently failing test case for menus.
2005-10-27 10:19:01 +00:00
Michael Jung
31c9033023
- Try LoadLibrary/LoadImage to extract icons from wine's built-in dlls
...
if SearchPath fails to find the requested file in
PrivateExtractIcons.
- Some unit tests for PrivateExtractIcons.
2005-10-26 12:05:59 +00:00
Vitaliy Margolen
453e16d329
Silently ignore WM_PAINT in msg tests.
2005-10-26 10:11:52 +00:00
Rein Klazes
16a5c4fbca
Fixed a lot of bugs in TEXT_TabbedTextOut. With the test cases used to
...
find them.
2005-10-26 10:04:21 +00:00
Richard Cohen
b26ae86b58
Handle NULL string lparam when translating messages A->W.
2005-10-21 15:43:09 +00:00
Vitaliy Margolen
247ab64d38
Restore focus to the current control without selecting text.
2005-10-20 11:36:55 +00:00