Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various additions (see desc.) #33

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

DeltaReckoner
Copy link

Added:

  • Hotkey support.
  • Silent command line option. (Uses CloseWindow(IntPtr hwNd)).
  • OSD hide type setting. (Minimize uses ShowWindow(IntPtr hWnd), Close uses CloseWindow(IntPtr hwNd)).

Fixed:

  • Certain numbers displayed as a decimal with the volume pop-up on system tray option on Windows 11.
  • Removing all input from "Show near Time" setting caused a program to throw an exception.

Erasing all content from the "Show near Time" user setting would throw an exception.

This fixes it by forcing the value to be 0 if the text box is empty, and preventing use of backspace with 1 character in the box.
Letters and numbers work, symbols don't as of writing.
-silent as a command argument will permanently close the OSD dialog and not display any pop-ups
Keys like shift, function keys, worked as hotkeys but the box showing you what the hotkey was would not update immediately (restart of settings window was needed).
OSD hide type "minimize" hides the OSD window when you click "Hide Volume OSD", "close" hide type terminates the OSD window.

The hotkey code would only trigger if the "Show volume in system tray" was enabled.  Additionally, the program would crash if a hotkey was first being set due a condition making an empty string parsed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant