Commit Graph

1305 Commits

Author SHA1 Message Date
Thomas Kho b833860579 user: Fix behavior when selecting disabled menu items. 2006-05-08 15:15:19 +02:00
Thomas Kho 76104e1ccc user: Allow menu WndProc to recognize VK_[LR]MENU. 2006-05-08 15:12:33 +02:00
Thomas Kho bde9ca2b63 user: Extend menu conformance test. 2006-05-08 15:10:41 +02:00
Hwang YunSong f6f7eddcfe user32: Updated Korean resource. 2006-05-08 14:50:03 +02:00
Marcus Meissner cf0704bd88 user32: Added tests for CharUpper and CharLower. 2006-05-08 14:47:14 +02:00
Juris Smotrovs 256d0c0b48 user: Test cases demonstrating position changes for MDI children. 2006-05-07 10:01:06 +02:00
Vitaly Lipatov 959a84208a user: tests: Change INPUT to TEST_INPUT, fix union usage. 2006-05-05 18:01:32 +02:00
Alexandre Julliard bace1ef6f0 user: Don't return CLASS_OTHER_PROCESS when modifying a class.
Based on a patch by qingdoa daoo.
2006-04-20 19:50:01 +02:00
Michael Kaufmann a1c98ea8bb user: Add SS_NOPREFIX to the text style in message boxes. 2006-04-20 11:33:58 +02:00
Michael Kaufmann 01bf37d810 user: Find popup menus by ID.
- Find menus by ID: Proper fallback to popup menus.
- Use the menu ID, not the handle for the fallback.
- Save the fallback menu's position.
2006-04-19 12:56:27 +02:00
Thomas Kho 0e81484c45 x11drv: Properly handle VK_LMENU input. 2006-04-14 19:35:05 +02:00
Rein Klazes 7a560493fe user: Fix dereferencing a potential NULL pointer. 2006-04-13 11:27:46 +02:00
Alexandre Julliard 64f17bb3ef user: Use a smaller window for the menu test. 2006-04-10 20:21:19 +02:00
Rein Klazes b72c36fef8 user: Add an missing element to the hbmmenus array. 2006-04-08 15:53:10 +02:00
Alexandre Julliard 53ad4cbb57 user: Fixed PrivateExtractIcons to pass the tests when using native dlls. 2006-04-04 18:58:48 +02:00
Mike McCormack ba41900d49 user32: More informative message on failure to load x11drv. 2006-04-03 21:35:35 +02:00
Antonio Codazzi ee01bd0efb user32: Esperanto language update. 2006-04-03 11:47:57 +02:00
Alexandre Julliard 510a6f70a8 user/tests: Flush events before running the keyboard event test. 2006-03-31 12:51:54 +02:00
Alexandre Julliard 6280ab29e6 user: Only wait for sent messages in wait_message_reply. 2006-03-30 16:23:56 +02:00
Alexandre Julliard 4d3282a5fb user: Don't send WM_PARENTNOTIFY to the desktop window. 2006-03-30 13:22:27 +02:00
Mike McCormack 8398f6e9e9 user32: Fix SPI_GETLISTBOXSMOOTHSCROLLING, and implement SPI_SETLISTBOXSMOOTHSCROLLING. 2006-03-29 13:37:00 +02:00
Mike McCormack 964509df9c user32: Implement SPI_[GS]ETUIEFFECTS. 2006-03-29 13:36:48 +02:00
Mike McCormack fc9d36e4b7 user32: Implement SPI_[GS]ETTOOLTIPANIMATION and SPI_[GS]ETTOOLTIPFADE. 2006-03-29 13:36:29 +02:00
Mike McCormack 9d04454268 user32: Implement SPI_[GS]ETMENUANIMATION and SPI_[GS]ETSELECTIONFADE. 2006-03-29 13:36:18 +02:00
Mike McCormack 9786252186 user32: Implement SystemParametersInfo(SPI_[SG]ETCURSORSHADOW). 2006-03-29 13:36:07 +02:00
Mike McCormack 3244096d2e user32: Implement SystemParametersInfo(SPI_[GS]ETCOMBOBOXANIMATION). 2006-03-29 13:35:53 +02:00
Mike McCormack cd37125f7a user32: Implement SPI_[SG]ETCARETWIDTH. 2006-03-29 13:31:54 +02:00
Mike McCormack 4ce100aa64 user32: Send a fake mouse movement event after releasing capture. 2006-03-27 21:41:09 +02:00
Alexandre Julliard 90af5a0d17 server: Connect to the window station and desktop specified by startup info.
If window station and desktop aren't inherited from the parent, don't
connect to them from the server, but from the USER init code where we
can get the proper values from the startup info structure.
2006-03-27 12:57:17 +02:00
Alexandre Julliard 9873494ced server: Class and global atoms should not be local to a window station. 2006-03-22 22:13:40 +01:00
Huw Davies c4b44245fb user32: Only adjust the margins if the edit control is above a certain size. 2006-03-22 21:37:10 +01:00
Mike McCormack d5816d2202 Remove some unnecessary uses of windowsx.h 2006-03-18 18:04:51 +01:00
Alexandre Julliard d8568e90be user/tests: Try harder to flush X events before running tests. 2006-03-15 12:11:02 +01:00
Alexandre Julliard a32b3e86ec user: Support packing/unpacking the WM_DEVICECHANGE message. 2006-03-09 22:48:37 +01:00
Mike McCormack abf3a570af user: The height of a ListBox item can be no more than MAXBYTE. 2006-03-09 12:51:10 +01:00
Alexandre Julliard 1a4f6e579b user: Launch explorer to manage the desktop window. 2006-03-07 11:42:35 +01:00
Alexandre Julliard 4be3d4c12b server: Return real parent and owner in the create_window request.
Remove computing of parent and owner handles on the client side.
2006-03-06 15:00:37 +01:00
Alexandre Julliard f874d20f54 user: Allow creating windows of the desktop class. 2006-03-06 12:44:38 +01:00
Alexandre Julliard 70d42f9d43 user: Allow some Wine internal messages to act on the desktop window. 2006-03-06 12:37:13 +01:00
Byeong-Sik Jeon bd82e82993 user32: Fix the default height for CJK fonts. 2006-03-04 16:12:51 +01:00
Vitaly Lipatov e96f03a1d7 user: Fix uninitialized rectangle in menu arrow painting. 2006-03-02 15:50:07 +01:00
Rein Klazes cc5b5cea96 user32: Fix handling of '\b' right flush character in menus.
- do not add extra space; modify the tests to confirm this;
- right flush to the menu tab stop, not to the menu border;
- small fixes to the menu tab stop calculation.
2006-03-01 20:40:17 +01:00
Jason Edmeades 24dc3de4c9 user32: Ensure VK_UP displays the popup menu for the selected item if
the popup menu is not visible
2006-03-01 12:39:09 +01:00
Francois Gouget 4aa6418d51 Assorted spelling fixes. 2006-02-24 21:10:03 +01:00
Francois Gouget 29b5c987d5 user32: Handle WM_ENDSESSION in DefWinProc().
DefWinProc() should call PostQuitMessage() on WM_ENDSESSION if the
shutdown is proceeding.
2006-02-24 21:07:08 +01:00
Francois Gouget feb153c649 user32: 0 vs. INFINITE timeout.
It is 0 that denotes an infinite timeout for the wine server now, not
-1 (INFINITE).
Document put_message_in_queue()'s check for INFINITE (done for
backwards compatibility with Windows 9x).
2006-02-24 21:06:50 +01:00
Francois Gouget 6edd77228d user: Fix ExitWindows().
- Use 0 to get an infinite timeout with SendMessageTimeoutW().
- Use SendMessageTimeoutW() to send the WM_ENDSESSION messages too so
we don't get stuck if a process is hung.
- Only send WM_ENDSESSION to windows that received a
WM_QUERYENDSESSION message. Also better mimick the Windows behavior.
2006-02-24 21:06:23 +01:00
Francois Gouget 1f297893e5 user: Give meaningful names to the structures used to transfer
information to the test threads.
2006-02-24 11:22:28 +01:00
Rein Klazes 3a0b40fffb menu: Take the MF_DEFAULT flag in to account in MENU_CalcItemSize. 2006-02-20 20:32:02 +01:00
Rein Klazes 1d0ec411d4 user: Add conformance tests for menu item drawing. 2006-02-20 12:00:39 +01:00
Rein Klazes 00ca259872 user: Menu drawing fixes.
- check mark is drawn left of a bitmap;
- if a MNS_CHECKORBMP-style menu has a checkmark, do no draw any bitmap;
- space for the popup arrow is also reserved for non popup items;
- implement the MNS_NOCHECK style.
2006-02-20 11:58:54 +01:00
Rein Klazes 885f217022 user: Menu string width calculation fixes.
- Use DrawText in stead of GetTextExtendPoint32, to properly measure
  strings with ampersands like "&File";
- Fix mess with strings with an embedded tab;
- In case of a menu bar, two extra pixels are added if the item has
  both a bitmap and string.
2006-02-20 11:58:03 +01:00
Rein Klazes 2757532fee user: Menu drawing fixes.
Replace some #defined constants by values calculated from windows
metrics.
2006-02-20 11:57:07 +01:00
Rein Klazes 444a547135 user: Menu drawing fixes.
- Move sending WM_MEASUREITEM message for HBMMENU_CALLBACK bitmaps to
MENU_GetBitmapItemSize();
- Save the received bitmap size in the menu item structure as it will
need to be sent in the WM_DRAWITEM message;
-  Move sending WM_DRAWITEM message for HBMMENU_CALLBACK bitmaps to
MENU_DrawBitmapItem();
- This also means that HBMMENU_CALLBACK bitmaps are now supported in
menu bars.
2006-02-20 11:56:21 +01:00
Rein Klazes 672a1e4e4e user: Move drawing of pop menu arrows to a subroutine reduces nesting
level of some large if statements in the drawing code. Some updates to
the comments.
2006-02-20 11:54:28 +01:00
Michael Kaufmann 1f3afd4b47 user: Add the DS_NOIDLEMSG style to message boxes. 2006-02-20 11:12:26 +01:00
Phil Krylov dafa5bf464 user: Implement scrolling in popup menus. 2006-02-17 18:34:31 +01:00
Troy Rollo 8818880b43 user: Fix argument type of IsDlgButtonChecked. 2006-02-14 11:38:15 +01:00
Troy Rollo d07448dd3a user: Fix argument type for EnableScrollBar. 2006-02-14 11:37:57 +01:00
Troy Rollo 0fbd861bdd user: Fix argument types for CheckRadioButton. 2006-02-14 11:37:20 +01:00
Troy Rollo 99020f8001 user: Fix return type and argument type for GetDlgItemText{A,W}. 2006-02-14 11:36:49 +01:00
Petr Tesarik 3c4a0db3a5 user32: Czech language resources encoding fix. 2006-02-13 13:28:31 +01:00
Francois Gouget 379b62c04e Assorted spelling fixes. 2006-02-06 20:58:36 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Fatih Aşıcı f69c173983 user: Turkish translation. 2006-02-06 13:06:33 +01:00
Michael Kaufmann fd71ef1bfa user: Remove internal messages from the message queue before handling them. 2006-01-30 18:15:52 +01:00
Alexandre Julliard 6b76244bf4 Fixed creation of PS_ALTERNATE pens. 2006-01-30 15:02:53 +01:00
Vitaliy Margolen 70fcfa755c user: Remove duplicate code. 2006-01-30 14:56:25 +01:00
Vitaliy Margolen 6c64b74a7c user/tests: Add test for low level mouse hooks. 2006-01-30 14:56:17 +01:00
Rein Klazes d4c62162e9 user: Fix SPI_{G|S}ETFONTSMOOTHING with tests. 2006-01-27 19:19:19 +01:00
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