Commit Graph

1172 Commits

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