Commit Graph

1222 Commits

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