Commit Graph

51 Commits

Author SHA1 Message Date
Piotr Caban 1c73fcdbcb user32: Fix DefWindowProc behavior on WM_NCRBUTTONDOWN message.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 16:38:31 +09:00
Alexandre Julliard fb6304119a user32: Add helper functions to get and set the window internal flags.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 19:46:30 +09:00
Alexandre Julliard 596c16cc13 user32: Post notification to the desktop window for window creation/activation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 13:53:15 +09:00
Alexandre Julliard 5fdcacad0a user32: Make spacing consistent between DrawCaptionTemp and NC_DrawCaption.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:51 +09:00
Alexandre Julliard c007b3cd46 user32: Load the default app icon with LR_SHARED to avoid a leak.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-19 16:38:49 +09:00
Alex Henrie 9a28e35064 user32: Don't put a default icon on modal dialogs.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 16:38:30 +09:00
Alexandre Julliard 5095ee32af user32: Fix WS_EX_DLGMODALFRAME handling in AdjustWindowRect and add more tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:30:56 +09:00
Mark Harmstone 27bffea148 user32: Specify size for default window icon in NC_IconForWindow. 2015-08-03 11:00:40 +02:00
Piotr Caban 27374064b6 user32: Make it possible to activate a window with parent and no WS_CHILD flag in WS_NCLBUTTONDOWN function. 2014-04-02 19:06:09 +02:00
André Hentschel bdc9b147b9 user32: Use boolean return values in boolean functions. 2014-02-04 11:15:37 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Alexandre Julliard 209d1a86d2 user32: Delay creation of the 55AA pattern brush until it's needed. 2013-10-16 17:23:22 +02:00
Ken Thomases 029aec19ff user32: Remove dead code for suppressing menu drawing. 2013-07-27 11:50:12 -05:00
Alexandre Julliard 094251496c user32: Center the icon in the caption bar. 2013-06-17 19:30:47 +02:00
Alex Henrie c412d6f521 user32: Minimize and maximize boxes can only appear when WS_SYSMENU is set. 2012-07-17 16:22:32 +02:00
Austin English 6f40cb83e9 user32: Make a few more functions hotpatchable. 2012-04-30 20:03:27 +02:00
Marcus Meissner 626d0b75ba user32: Remove duplicated call to GetSystemMenu (Coverity). 2012-02-20 11:38:52 +01:00
Alexandre Julliard 5d1a147163 user32: Add mouse tracking on caption right-clicks to avoid messing with the capture. 2012-02-15 16:27:12 +01:00
Alexandre Julliard 174d2f6d72 user32: Use the correct alpha for the title bar gradient and simplify the mesh. 2011-11-30 14:33:47 +01:00
Alexandre Julliard 299f2b354e user32: Make sure AdjustWindowRect and WM_NCCALCSIZE yield the same result for WS_EX_DLGMODALFRAME windows. 2010-10-12 11:28:51 +02:00
Alexandre Julliard 0df8855b20 user32: Use screen coordinates for hittest checking to handle RTL windows correctly. 2010-09-24 15:45:54 +02:00
Alexandre Julliard deb8309760 user32: Fix initial computation of client area in WM_NCCALCSIZE for RTL windows. 2010-09-24 15:45:54 +02:00
Alexandre Julliard 5c6a1f776a user32: Add support for right-to-left menus. 2010-09-22 20:31:52 +02:00
Alexandre Julliard 4858c54a8e user32: Avoid direct accesses to the window structure in NC_HandleNCHitTest. 2010-09-08 13:19:04 +02:00
Alexandre Julliard 141defbd54 user32: Use WIN_GetRectangles where possible instead of accessing the window structure. 2010-09-07 14:55:42 +02:00
Alexandre Julliard c5bf4976f1 user32: Pass the window styles to NC_GetInsideRect instead of accessing the window structure. 2010-09-07 14:33:13 +02:00
Alexandre Julliard 7ea98f680d user32: Check the active window instead of the foreground to show/hide owned popups. 2010-05-26 10:39:01 +02:00
Alexandre Julliard 8aa83d326a user32: Make user.exe into a stand-alone 16-bit module. 2009-12-24 12:15:12 +01:00
Rico Schüller a679b4e3af user32: Add argument check for PTITLEBARINFO in GetTitleBarInfo(). 2009-11-13 11:52:25 +01:00
Alexandre Julliard 4bb95f4d0f user32: Use the generic handle functions for windows too. 2009-10-12 17:07:04 +02:00
Alexandre Julliard 13ca78cf1a user32: Use explicit prototypes for function pointers. 2009-09-09 13:12:38 +02:00
Dmitry Timoshkov 07a002f3b4 user32: Send the same lParam with WM_SYSCOMMAND/SC_CLOSE as was received with WM_NCLBUTTONDOWN. 2009-09-09 12:18:39 +02:00
Damjan Jovanovic 1603a51d4e user32: Handle NULL rectangles in WM_NCCALCSIZE. 2008-11-18 15:52:00 +01:00
Andrew Talbot afc95d4ac3 user32: Remove unneeded address-of operators from array names. 2008-07-14 11:50:19 +02:00
Andrew Talbot 5806e4b504 user32: Remove unneeded address-of operators from function names. 2008-07-07 12:31:54 +02:00
Alexandre Julliard fa677c7f72 user32: Forward all WM_SYSCOMMAND messages to the driver, not only moves and resizes. 2008-04-10 15:58:43 +02:00
Alexandre Julliard 806d08c206 user32: Get rid of the debug mark option in the system menu. 2008-04-08 12:20:04 +02:00
Alexandre Julliard 7dfc5184e0 user32: Cosmetic fixes to the About dialog. 2008-03-27 13:47:57 +01:00
Rob Shearman 076c6fb550 user32: Handle the undocumented behaviour in DefWindowProc for WM_NCACTIVATE that causes the nonclient area not to be redrawn.
If the lParam is 0xffffffff then the nonclient area is not redrawn.
2008-03-19 11:18:36 +01:00
Alexandre Julliard dc26f27835 winex11: Moved support for window moving/resizing back to user32. 2008-03-12 15:01:24 +01:00
Divan Burger dab0c65fe4 user32: Correct the button sizes of the caption bar. 2008-02-29 20:29:19 +01:00
Peter Oberndorfer a73a0aa613 user32: Fix caption bar being drawn 1 pixel too high. 2008-02-19 20:20:34 +01:00
Lei Zhang 6c1cdc7186 user32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Peter Oberndorfer 76bbd02734 user32: Remove unused lpGrayMask array. 2008-01-07 12:19:04 +01:00
Alexandre Julliard 4f5c61ac7c user32: Removed unused NC_DrawGrayButton function. 2007-11-07 19:46:34 +01:00
Steven Edwards a725826ada user32: Remove some no longer needed wine 16bit headers. 2007-08-29 12:31:34 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Andrew Talbot 6030e4d549 user32: Exclude unused headers. 2007-05-21 13:36:13 +02:00
Rob Shearman 3a66a787bc user32: Send WM_GETTEXT to get the window caption when drawing the nonclient caption bar. 2007-02-27 12:26:07 +01:00
Dmitry Timoshkov ed954e5461 user32: Add ShowWindow test, make it pass under Wine. 2006-12-04 12:23:37 +01:00