You are not logged in.
Hi ab,
I recently noticed that emulated SynTaskDialogs suppress the shortcuts for CommonButtons, i.e. the user can't press y to "click" he Yes button.
System provided dialog:
Emulated dialog:
For reference please see Windows Explorer's deletion confirmation which has shortcuts:
I checked the SynTaskDialog source and noticed the explicit call to StripHotkey at the beginninig of AddButton and wondered why it is there?
Best regards,
Uli.
Offline
Offline
The easiest solution from my perspective would be to just delete the call to StripHotkey in AddButton - or call it controlled by a flag - and have the translators avoid clashing shortcuts. They have to consider them anyway because NonNative might be false and the system dialog shows the CommonButton shortcuts.
Offline
Sounds right to me.
Now bottom buttons won't trim expected shortcut definition, in emulated mode.
See http://synopse.info/fossil/info/7870075dac
Thanks for the feedback.
Offline
Thank you!
One minor nitpick: AFAICS you could make "s" a const parameter now. :-)
Offline