reactos/win32ss/user/ntuser
Baruch Rutman 123a7c80e0
[NTUSER] Fix SetProcessDefaultLayout() (#1013)
- Add a check in co_UserCreateWindowEx() for parentless windows,
  that checks the default layout direction; if it's LAYOUT_RTL
  add the WS_EX_LAYOUTRTL flag to the extended window styles.

- Make the internal routine accepting also LAYOUT_LTR as a value for SetProcessDefaultLayout().
  Limit receiving value to LAYOUT_ORIENTATIONMASK (and not just LAYOUT_RTL)
  or LAYOUT_LTR, as per written in:
  https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-setprocessdefaultlayout

Now all the applications that call SetProcessDefaultLayout() to mirror the layout get mirrored.
This is based on Wine.
2019-01-06 04:35:51 +01:00
..
misc
accelerator.c
accelerator.h
callback.c
callback.h
callproc.c
caret.c
caret.h
class.c
class.h [WIN32SS][USER32] Add Ghost codes (retrial of #1100) (#1112) 2018-12-11 12:30:59 +09:00
clipboard.c
clipboard.h
console.c
csr.c [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
csr.h [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
cursoricon.c
cursoricon.h
dce.h
dde.c
defwnd.c [USER32][WIN32SS] Fix display of owned popup windows (#683) 2018-07-13 16:03:45 +02:00
desktop.c [NTUSER] Fix a few tests related to desktops and window stations 2019-01-02 17:15:40 +02:00
desktop.h [NTUSER] Fix a few tests related to desktops and window stations 2019-01-02 17:15:40 +02:00
display.c [WIN32SS] Try to recover display when changing the display mode fails for whatever reason. 2019-01-02 21:12:22 +01:00
draw.c [WIN32SS][FONT] Fix font metrics (#713) 2018-08-12 15:12:13 +02:00
event.c
focus.c
focus.h
ghost.c [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
ghost.h [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
guicheck.c
guicheck.h
hook.c
hook.h
hotkey.c
hotkey.h
ime.c
input.c [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
input.h [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
kbdlayout.c
keyboard.c [WIN32K] Work around GCC builds inventing dead keys. 2018-09-23 20:03:14 +02:00
layered.c
main.c [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
menu.c [WIN32K:NTUSER] Reference menus owned by a popup menu. CORE-15504 2018-12-30 00:25:01 +01:00
menu.h
message.c [WIN32SS][USER32] Add Ghost codes (retrial of #1100) (#1112) 2018-12-11 12:30:59 +09:00
metric.c
misc.c [WIN32K:NTUSER] Similarly to what was done in USERSRV for harderrors, introduce the _scwprintf() helper function based on the imported _vscwprintf(). 2018-08-19 22:18:34 +02:00
mmcopy.h
monitor.c
monitor.h
mouse.c
msgqueue.c
msgqueue.h
nonclient.c
ntstubs.c [WINSRV] Add a hack to fix giving the api port to win32k 2018-12-19 16:13:18 +02:00
ntuser.c
ntuser.h
object.c
object.h
painting.c [WIN32SS][LPK] Add BiDi support to menus and window captions (#738) 2018-08-23 19:43:12 +02:00
painting.h
prop.c
prop.h
scroll.h
scrollbar.c [WIN32SS] Disable scrollbars when SIF_DISABLENOSCROLL is used 2018-10-28 13:02:27 +01:00
scrollex.c [NTUSER] Don't crash when the current thread doesn't have a desktop 2018-12-19 16:13:18 +02:00
session.c
shutdown.c [WIN32K:NTUSER] Add an extra optional "Process" parameter to the GetProcessLuid() function to be used alternatively in place of "Thread" to retrieve the LUID. 2018-08-19 22:18:30 +02:00
shutdown.h
simplecall.c [NTUSER] Fix SetProcessDefaultLayout() (#1013) 2019-01-06 04:35:51 +01:00
sysparams.c [WIN32K:NTUSER] Code style fixes only. 2018-08-19 22:18:36 +02:00
sysparams.h
tags.h
timer.c
timer.h
useratom.c
useratom.h
userfuncs.h [WIN32K:NTUSER] Similarly to what was done in USERSRV for harderrors, introduce the _scwprintf() helper function based on the imported _vscwprintf(). 2018-08-19 22:18:34 +02:00
usrheap.c
usrheap.h
vis.c
vis.h
win32.h
win32kdebug.h
windc.c
window.c [NTUSER] Fix SetProcessDefaultLayout() (#1013) 2019-01-06 04:35:51 +01:00
window.h [USER32][WIN32SS] Fix display of owned popup windows (#683) 2018-07-13 16:03:45 +02:00
winpos.c [WIN32K][NTUSER] Specify constant name explicitly (#1067) 2018-11-25 14:31:23 +01:00
winpos.h
winsta.c [WIN32SS:NTUSER] Completely update the metrics in co_IntInitializeDesktopGraphics(). 2019-01-05 16:42:16 +01:00
winsta.h [WIN32K:NTUSER] Fixes for NtUserCreateWindowStation(), IntCreateWindowStation() and NtUserOpenWindowStation(). 2018-08-19 22:18:35 +02:00