Small update for CapsUnlock

by andyjmay January 29, 2012

I pushed a small update to CapsUnlock that addresses two annoyances:


Startup Time

Previously, CapsUnlock would check for updates before launching. This takes a few seconds and displays a small window stating that it is checking for updates. Since this application is rarely updated, this is a waste of time. I have changed it to look for updates every 7 days, and only after launch. This should greatly improve startup time.


Alt Tab

When minimized to the system tray, CapsUnlock would show up in the "Alt Tab list" of active windows. This was not necessary and has been removed. The trick I did to fix this behavior is very simple, but not obvious. You have to change the Form Border Style to be a ToolWindow. Tool windows do not appear in the Alt Tab list. But they also don't have a minimize button, so you have to reset the style when the window is shown again:


Resize += (s, e) => {
  if (WindowState == FormWindowState.Minimized) {
    this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
  } else {
    this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;


blog comments powered by Disqus

Month List

Page List

Tag cloud