Classic Shell
http://classicshell.net/forum/

Losing my changes because I forget I have to click 'ok'
http://classicshell.net/forum/viewtopic.php?f=13&t=7148
Page 1 of 1

Author:  PaulBags [ Sat Dec 03, 2016 1:40 pm ]
Post subject:  Losing my changes because I forget I have to click 'ok'

I'd like an apply button (preferably), or to be asked to save changes on close/cancel. Sometimes I'm multitasking and forget that I need to explicitly click ok or I lose all of the menu changes I've been working on - especially since changes go live instantly. Currently to save my work as I go I'd have to click ok, and then reopen settings. Most programs/dialogs have a way to save what you're doing without closing the program/dialog, usually in settings dialogs this is an apply button.

I searched and found some threads requesting an apply button before, their reasons however were not as compelling.

Author:  Gaurav [ Sat Dec 03, 2016 9:30 pm ]
Post subject:  Re: Losing my changes because I forget I have to click 'ok'

Most programs don't have live settings. Since Classic Start Menu has many settings that are live, there is no Apply button. It will only increase the number of clicks: change some setting -> Apply -> open Start menu to test it.

Also, the settings dialog is shared with Classic Explorer and Classic IE where almost all settings require re-opening the Explorer or IE window so the OK button works like the Apply button for those.

You can get used to lack of the Apply button because the changes are all still cancellable when you press Cancel. Also you can use keyboard shortcuts. Ctrl+Enter=OK, Esc=Cancel for the Settings dialog.

Author:  PaulBags [ Thu Dec 15, 2016 2:55 am ]
Post subject:  Re: Losing my changes because I forget I have to click 'ok'

Gaurav wrote:
Most programs don't have live settings. Since Classic Start Menu has many settings that are live, there is no Apply button. It will only increase the number of clicks: change some setting -> Apply -> open Start menu to test it.

Also, the settings dialog is shared with Classic Explorer and Classic IE where almost all settings require re-opening the Explorer or IE window so the OK button works like the Apply button for those.

You can get used to lack of the Apply button because the changes are all still cancellable when you press Cancel. Also you can use keyboard shortcuts. Ctrl+Enter=OK, Esc=Cancel for the Settings dialog.


I don't think you read my post at all, or at least I don't think you understood it.

PaulBags wrote:
I'd like an apply button (preferably), or to be asked to save changes on close/cancel. Sometimes I'm multitasking and forget that I need to explicitly click ok or I lose all of the menu changes I've been working on - especially since changes go live instantly. Currently to save my work as I go I'd have to click ok, and then reopen settings. Most programs/dialogs have a way to save what you're doing without closing the program/dialog, usually in settings dialogs this is an apply button.

I searched and found some threads requesting an apply button before, their reasons however were not as compelling.


Because there is no apply button and changes are live it is very easy to forget changes must to "okayed" to be saved - this is very abnormal behaviour. Maybe the label "save" button would suit better than "apply"? There is a lot more clicks involved in rebuilding lost menu changes. There are also more clicks involved reloading the settings dialog because the only way to save changes while still making them closes the dialog unnecessarily.

Also a close button is not a "cancel" or "discard changes" button, and it's unreasonable that it act as such. Not really sure esc should be acting that way either, at least not without confirmation.

Author:  PaulBags [ Fri Dec 16, 2016 7:37 pm ]
Post subject:  Re: Losing my changes because I forget I have to click 'ok'

This is really bugging me. Shame that Classic Shell is closed source. I found the relevant dialog in ClassicStartMenuDLL.dll using res hacker but I have zero idea how to remove the close button and/or make the default close behaviour "save".

Might have a look around to see if there's a program that detect a specific dialog from a specific program and prevent it from closing with red X and alt+f4.

Author:  PaulBags [ Fri Dec 16, 2016 9:00 pm ]
Post subject:  Re: Losing my changes because I forget I have to click 'ok'

Ok using this for now I guess, still would be better if Classic Shell fixed it's shoddy behaviour.

Edit, now using this:
Code:
Run, "C:\Program Files\Classic Shell\ClassicStartMenu.exe" -settings,,,
WinWait, Settings for Classic Start Menu
DisableCloseButton(WinExist())

DisableCloseButton(hWnd) {
 hSysMenu:=DllCall("GetSystemMenu","Int",hWnd,"Int",FALSE)
 nCnt:=DllCall("GetMenuItemCount","Int",hSysMenu)
 DllCall("RemoveMenu","Int",hSysMenu,"UInt",nCnt-1,"Uint","0x400")
 DllCall("RemoveMenu","Int",hSysMenu,"UInt",nCnt-2,"Uint","0x400")
 DllCall("DrawMenuBar","Int",hWnd)
}

Exit


I don't have to have it running in the tray persistently but I do have to call it to open settings, which means disabling the 'right click on start menu' since there's no way to change that menus actions.


Still hoping for a proper fix to this problem in classic shell though.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/