Commit graph

22 commits

Author SHA1 Message Date
Carl J. Bialorucki
2263547985
[WINLOGON][MSGINA] Add emergency restart and log off features (#5629)
CORE-18958

Introduce an emergency log-off and restart feature, available when holding
down the control key and selecting "Log Off" or "Shut down" in the MSGINA
Ctrl-Alt-Del security dialog, similar to Windows Server 2003 and newer
Windows versions.
2023-08-31 11:51:54 +02:00
Katayama Hirofumi MZ
04a7134b97 [MSGINA] Adjust Status Window if Asian
The Asian logo and bar positions are different from English or Latin positions, due to Asian font.
Add positional adjustment to IDD_STATUS if Asian.
Follow-up of #4280 ef4f0d0.
2022-01-14 12:44:29 +09:00
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Timo Kreuzer
5d8e834897 [REACTOS] Fix a number of MSVC warnings 2021-07-23 22:03:48 +02:00
Serge Gautherie
d6c4411207 [MSGINA] gui: Improve 'DlgData_Destroy()'
Addendum to 623dd26cce.
2020-07-11 01:44:26 +02:00
Serge Gautherie
64fea1dbd0
[MSGINA] gui: Improve DlgData_LoadBitmaps() (#2520)
And let bar timer depend on the bar image only.

Addendum to 623dd26cce.
2020-06-01 12:26:53 +03:00
Bișoc George
28e277b65f
[MSGINA] Redraw only the animation bar scroll (#2518)
Invalidating and updating the whole window is a waste of computation resources and may cause certain controls notably the text string control to flicker. So instead, just invalidate the specific portion of the client area which is the animation bar.
2020-04-09 19:06:00 +02:00
Serge Gautherie
a5a426f867
[MSGINA] gui: Remove superfluous DLG_DATA.TimerID (#2505)
And use a timer ID define, with a positive value; report SetTimer() failure.
2020-04-09 18:54:15 +02:00
Bișoc George
61c8d3432c
[MSGINA] Be sure to always initialize the cached DLG_DATA GINA context (#2360)
The ReactOS logo banner is loaded from the GINA context whereas the animation bar is loaded from the main application instance. However, the aforementioned context is not initialized when WM_INITDIALOG occurs hence DlgData_LoadBitmaps() would fail on proceeding at loading the remaining bitmaps to be loaded.

This fixes the regression introduced by commit 623dd26c (PR #2353).
2020-02-20 00:20:01 +01:00
Katayama Hirofumi MZ
623dd26cce
[MSGINA] Make DLG_DATA object-oriented (#2353)
- Rename hBitmap as hLogoBitmap of DLG_DATA structure.
- Add DlgData_Create. DlgData_LoadBitmaps, and DlgData_Destroy functions.
CORE-16697
2020-02-18 14:35:44 +09:00
Eric Kohl
f2f698587c [MSGINA] Add missing logon restriction messages. 2019-06-09 22:42:10 +02:00
Stanislav Motylkov
f9d29319a6 [MSGINA] Implement rotation bar animation
Based on initial work by Bisoc George. Rotation bar image by Zcooger. CORE-15215
2019-02-24 15:52:49 +01:00
Eric Kohl
6f4d70b405 [MSGINA] Display the 'account expired' message when a user tries to log on using an expired account. 2018-09-01 21:10:42 +02:00
Hermès Bélusca-Maïto
40000a1716
[WINLOGON][MSGINA] Fix typo. 2018-08-06 17:37:38 +02:00
Eric Kohl
4db10a404c [MSGINA] Clean-up the resource IDs and the dialog function names. 2018-05-26 01:54:58 +02:00
Eric Kohl
ef9cfec290 [MSGINA] Implement the Welcome text feature 2018-05-23 13:51:45 +02:00
Eric Kohl
8828567086 [MSGIINA] Make sure we do not leak bitmaps 2018-05-23 00:24:53 +02:00
Eric Kohl
8c5cf73018 [MSGINA] Always stop the automatic login after the first try
Fixes CORE-14643
2018-05-22 21:19:58 +02:00
Eric Kohl
47567abf27 [MSGINA] Do not try to impersonate the user on shutdown when we are already logged off 2018-05-22 17:35:33 +02:00
Eric Kohl
c98b8dc98c [MSGINA] Rename context variable: Domain -> DomainName 2018-05-22 14:39:38 +02:00
Eric Kohl
0d308f4b6e [MSGINA] Simplify the auto logon code path
- Get rid of DoAutoLogon() and the AutoLogonState variable.
- Handle the auto logon in the normal logon code path instead.
- Set bAutoAdminLogon to FALSE on a successful login. This will prevent another automatic logon after a logoff.
- The IgnoreShiftOverride feature got lost by this change but I will add it again.
2018-05-21 16:29:02 +02: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
Renamed from reactos/dll/win32/msgina/gui.c (Browse further)