in

ASP.NET Weblogs

Andy Smith's Blog

Page.RegisterStartupScript('Andy', 'MetaBuilders_WebControls_GainKnowledge();');

non-discoverable windows "shortcuts"

From ChuckOp's Blog

One of my favorite keyboard shortcuts in Windows is CTRL+NUMPAD+Plus.

You can get Windows to automatically resize the columns (in details view) to fit the widest item for the column, so no data is lost and only the space needed is taken. 

Geez... for how many years has this functionality just been sitting there unused? How the heck are people supposed to "discover" this kind of functionality? There's no menu item for this... no button... no help file I've ever seen that states this behavior...

What I would like to see, some magical day, is for microsoft to publish every single keyboard shortcut that exists in explorer and the built in windows controls.

And to make it easier to find the truly useful ones, make it so windows users can vote on their favorite ones. This shortcut would probably be in my top 10 most useful.

Comments

 

Darrell said:

Lots of keyboard shortcuts here, though not the one blogged about (though the related "NUMLOCK PLUS" is described):
http://www.microsoft.com/enable/products/keyboardassist.aspx
January 6, 2004 7:51 PM
 

Tony said:

You can also double click the column splitter in the listview header to get the same result.
January 6, 2004 7:53 PM
 

Mark Hurd said:

Darrell: I thought this keyboard shortcut was documented in Windows Help too, but I can't find it now. It's been there for a long time.

Tony: That does a best fit for *one* column at a time -- Ctrl+NumPlus does this for all columns.

A nice little "feature" like this is that, as of Windows 2000, Ctrl+C copies the content of a message box to the clipboard! It still beeps as if it was ignored and the clipboard content looks like ir was only for debugging, but it is great when supporting someone over the phone: "... no don't write it down. Type Ctrl+C, open notepad and paste ..."

Speaking of Notepad, it's got some *documented* features that you don't think to check for:

Ctrl+G Jumps to a specified line number

F5 Inserts the current date and time.

Also readthe Notepad help about puting .LOG at the start of a text file...
January 6, 2004 8:24 PM
 

Jim R. Cheseborough said:

Use it in Enterprise Manager - Awesome!
January 6, 2004 9:46 PM
 

HumanCompiler said:

Very true, Andy, but what I wonder is why does explorer not just size the columns like that automatically when in details view? Are people all still on 640x480 and need the space or something? :|
January 7, 2004 12:37 AM
 

Charles Oppermann said:

The undiscoverability of shortcuts is a difficult issue. It's hard to document them because there are often many exceptions. Sometimes the application hosting ListView intercepts the keystrokes, sometimes it prevents column resizing, etc. Also, there are many controls that look just like ListView, but are not and don't implement the shortcut.

It would be nice if the shell had a "Resize all columns to fit" menu option, but that would contribute to UI bloat.

FYI, I wouldn't want the shell to always size to fit. Because with long file names, often times that would push other details like date off the window.

I'd rather the shell had a feature like Outlook's "Automatic Column Resizing." This resizes the columns to ensure all are visible within the window space.
January 7, 2004 4:56 PM
 

Todd Moon said:

This works great in VS.Net when viewing the data of a SQL table. But long varchar fields get huge and don't scroll well. I really hate the "jump to column edges while scrolling" crap. I wish it would smooth-scroll.
January 8, 2004 5:04 PM
 

TrackBack said:

January 11, 2004 2:59 PM
 

TrackBack said:

January 11, 2004 3:00 PM
 

Todd Brooks said:

The above keyboard shortcuts are great, but why, for the love of God, is there NO keyboard shortcut for creating a new folder in Windows Explorer?
January 30, 2004 11:06 AM
 

TrackBack said:

February 22, 2004 4:21 PM
 

TrackBack said:

February 22, 2004 4:22 PM
 

Jason Browning said:

There isn't a SINGLE keyboard shortcut for creating a folder in Windows Explorer, but you can type "ALT+F W F" to achieve this via keyboard.
February 24, 2004 5:50 PM

Leave a Comment

(required)  
(optional)
(required)  
Add