mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:43:00 +00:00
[RAPPS] *.rc: IDC_DEFAULT_SETTINGS Optimize AUTORADIOBUTTONS, WS_GROUP (#7094)
- The stuff with the AUTORADIOBUTTONS is a small optimization to slightly reduce code-size and binary-size. - Also add a missing WS_GROUP to IDC_DEFAULT_SETTINGS, which prevents leaving the group of the 3 bottom-most buttons to the left with the left-arrow-key. - we need to add a return TRUE into WM_INITDIALOG section of SettingsDlgProc() to handle the default keyboard focus correctly towards the topmost AUTOCHECKBOX in this dlg. That part was contributed by @whindsaks , thank you very much for that! - pl.PL: Add a missing ES_AUTOHSCROLL - improve a few accelerators here and there For the record: If no additional style is set then an AUTORADIOBUTTON gets by default BS_AUTORADIOBUTTON | WS_TABSTOP see https://learn.microsoft.com/de-de/windows/win32/menurc/autoradiobutton-control
This commit is contained in:
parent
2e08238c7c
commit
e1c5b7366a
27 changed files with 179 additions and 181 deletions
|
@ -124,11 +124,9 @@ SettingsDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
|
|||
switch (Msg)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
NewSettingsInfo = SettingsInfo;
|
||||
InitSettingsControls(hDlg, &SettingsInfo);
|
||||
}
|
||||
break;
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue