Hermès Bélusca-Maïto
36174f926b
[USER32] Implement support for the MB_SERVICE_NOTIFICATION flag in the MessageBox*() APIs.
2018-08-17 21:50:09 +02:00
Hermès Bélusca-Maïto
9b4673a3ca
[USER32] Update file description.
2018-08-17 17:12:25 +02:00
Hermès Bélusca-Maïto
2be262bfb1
[USER32] Implement SoftModalMessageBox() based on the original MessageBoxTimeoutIndirectW().
...
Additional changes:
- Adapt the message-box dialog procedure to correctly take into account
the presence or absence of a CANCEL button and take appropriate actions.
- Cache the strings retrieved by MB_GetString() (add FIXME notices too).
2018-08-17 17:12:24 +02:00
Hermès Bélusca-Maïto
4f7318b759
[USER32] Code refactoring for MessageBoxTimeoutIndirectW(), in preparation for SoftModalMessageBox() implementation.
...
- Remove usage of ButtonLen and ibtn-pointer arrays, to make the code
more generic and less dependent on the (maximal) number of buttons
in the message boxes.
- Move around the code that computes the positions and sizes of the
window controls.
2018-08-17 17:12:22 +02:00
Hermès Bélusca-Maïto
e3fee2db82
[USER32] Get rid of the old MSGBOXINFO structure and use the new internal MSGBOXDATA structure instead.
2018-08-17 17:12:21 +02:00
Hermès Bélusca-Maïto
b55cf70340
[USER32] Code formatting only.
2018-08-17 17:12:21 +02:00
Hermès Bélusca-Maïto
cb77cc707f
[USER32] Specify the font to be used for the message-box in its dialog template, using DS_SETFONT and a font point size of 0x7FFF, instead of passing a font handle and setting the font of each control manually.
...
Also improve the flags used in the DrawTextW() call for calculating
the size to be taken by the message-box text.
2018-08-17 17:12:20 +02:00
Hermès Bélusca-Maïto
fcfcf7a5c9
[USER32] Move related functions close to each other.
2018-08-17 17:12:19 +02:00
Hermès Bélusca-Maïto
5e4b3c7cf0
[USER32] Code formatting/indentation fixes only.
2018-08-17 17:12:15 +02:00
Timo Kreuzer
e9ad66d52f
[USER32] Fix 64 bit issues
2018-08-04 19:19:34 +02:00
Katayama Hirofumi MZ
bfc6b719cf
[USER32][WIN32SS] Implement TileWindows function ( #678 )
...
CORE-14815
2018-07-26 14:34:00 +02:00
Katayama Hirofumi MZ
75b09f3f88
[EXPLORER][SHELL32][USER32] Implement 'Show the Desktop' action of Task Bar ( #668 )
...
The keyboard shortcuts Win+D and Win+M are also enabled.
- Implement IShellDispatch4::ToggleDesktop().
- Implement some commands in CTrayWindow.
- Add "sdk/include/reactos/traycmd.h" for tray commands.
- Fix task window switching.
- Improve the user32!SwitchToThisWindow() function and use it.
CORE-14318, CORE-13157
See also: CORE-14806 and CORE-8723
2018-07-13 10:34:42 +02:00
Katayama Hirofumi MZ
cc3ba6e41c
[USER32][WIN32SS] Improve CascadeWindows function ( #677 )
...
If the window is too large, then shrink it if possible.
CORE-14807
2018-07-09 14:52:30 +02:00
Katayama Hirofumi MZ
4e45a91547
[USER32][WIN32SS] Implement CascadeWindows function ( #676 )
...
CORE-14807
2018-07-09 01:51:14 +02:00
Joachim Henze
083c3d992b
[USER32] Fix compilation when USE_VERSIONED_CLASSES is not defined
...
Variable 'Status' would be set but not used otherwise in this case.
This commit will not fix or improve CORE-13278,
but was spotted when having a look at that.
2018-04-12 17:57:38 +02:00
Hermès Bélusca-Maïto
68430db462
[USER32] Fix GetWindowTextLength() blocking call using the same technique as in GetWindowText(). Fix indentation in GetWindowText().
2018-03-17 23:47:16 +01:00
Giannis Adamopoulos
e3610035ce
[USER32] Small fixes for messages carrying pointers
...
SendNotifyMessageW: It doesn't support messages with pointers so there is no need to call MsgiUMToKMMessage
SendMessageTimeoutW, SendMessageTimeoutA: These two do support marshaling pointers so they need to use MsgiUMToKMMessage.
This is actually a bug that happens only in the rare case where we send a WM_COPYDATA with a timeout.
2018-02-26 16:51:59 +02:00
Timo Kreuzer
173971d947
[WIN32K] Implement NtUserSetWindowLongPtr for 64 bit builds
...
Also fix return type of NtUserQueryWindow and type of WND::dwUserData and the value for bAnsi in SetWindowLongPtrA
2018-02-19 22:36:36 +01:00
Giannis Adamopoulos
6318e47bb9
[USER32] InternalGetWindowText: Write to caller's buffer only when one was provided. CORE-13614
2018-01-15 12:45:41 +02:00
Giannis Adamopoulos
bd193c4534
[USER32] Stop hiding exceptions left and right
2018-01-15 12:36:45 +02:00
Amine Khaldi
2367206744
[USER32] Fix RealUserDrawCaption() return type. Rename {HFONT,UISTATE}_GWL_OFFSET and pfPaint. #179
2017-12-25 14:36:33 +01:00
Giannis Adamopoulos
c5db5399dc
[USER32] Implement the index -1 for GetWindowLong which returns a pointer to WW
...
We don't have this struct but WND already contains the same fields in the right
order so we can just return the pointer to the first one.
The meaning of the -1 index was found here: http://www.geoffchappell.com/studies/windows/win32/user32/structs/wnd/index.htm
2017-12-25 00:12:45 +02:00
Amine Khaldi
3d93998d6e
[USER32] Add wine/debug.h to the PCH and remove an unneeded wine/unicode.h inclusion.
2017-12-23 23:42:40 +01:00
James Tabor
c45a6e15bf
[User32|IMM32] Fix a recursion crash in IMM. See CORE-14041.
...
Required a sync port from wine. This is a hack fix with Win32SS until
proper IMM support is added to Win32SS.
2017-12-07 21:14:21 -06:00
Amine Khaldi
917b74b0dc
[USER32] We're still using this one. Fixes build.
2017-12-07 22:37:40 +01:00
Amine Khaldi
9443165625
[USER32] Remove unused debug channels. Silences some clang-cl warnings.
2017-12-07 22:25:30 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00