reactos/dll/win32/newdev
Denis Robert 6f60301d25
[NEWDEV] Fix bad use of PropSheet_SetCurSelByID (#7574)
PropSheet_SetCurSelByID() was badly called in response of PSN_WIZBACK or
PSN_WIZNEXT notifications. See the reference on these notification codes:

https://learn.microsoft.com/en-us/windows/win32/controls/psn-wizback

> Returns 0 to allow the wizard to go to the previous page. Returns -1 to
> prevent the wizard from changing pages. To display a particular page,
> return its dialog resource identifier.
> (...)
> To set the return value, the dialog box procedure for the page must call
> the SetWindowLong function with the DWL_MSGRESULT value and return TRUE.

This bug sometimes causes the wrong page to appear (e.g. "Previous" in
IDD_NODRIVER should come back in IDD_CHSOURCE, but goes to IDD_WELCOME).
2024-12-23 16:24:21 +03:00
..
lang [NEWDEV] Update Romanian (ro-RO) translation (#6663) 2024-07-16 20:38:49 +02:00
resources
CMakeLists.txt
newdev.c [NEWDEV][SHELL32][SYSSETUP] Improve browse driver folder dialog (#4293) 2022-11-27 18:00:46 +03:00
newdev.rc
newdev.spec
newdev_private.h [NEWDEV][SHELL32][SYSSETUP] Improve browse driver folder dialog (#4293) 2022-11-27 18:00:46 +03:00
resource.h
stubs.c
wizard.c [NEWDEV] Fix bad use of PropSheet_SetCurSelByID (#7574) 2024-12-23 16:24:21 +03:00