Showing results for September 2013 - Page 3 of 3 - The Old New Thing

Sep 10, 2013
0
0

Early versions of Aero Peek: Aladdin, Bat Signal, and Squeegee

Raymond Chen
Raymond Chen

The feature now known as Aero Peek wasn't born that way. It went through several iterations before becoming what eventually shipped in Windows 7. At the MIX09 conference, Stephan Hoefnagels showed some of the precursors to Aero Peek. Here are the highlights, and the corresponding time codes if you want to jump straight to the demos. Thumbn...

History
Sep 9, 2013
0
0

Mom and dad's event-filled first day of school

Raymond Chen
Raymond Chen

I dreamed that my wife and I had dropped our daughter off at her new school for the first time, and I made a wrong turn and ended up going the wrong way. We got off at an exit for highway I-5, and the on-ramp turned into a two-lane highway hundreds of feet in the sky. To keep people from going too fast, the road rolled back and forth: First it til...

Non-ComputerDream
Sep 9, 2013
0
0

Programmatically editing the metadata of an audio file

Raymond Chen
Raymond Chen

Today's Little Program edits the metadata of an audio file, ostensibly to correct a spelling error, but really just to show how it's done. Today's smart pointer class library is... (rolls dice)... CComPtr! We open with two helper functions which encapsulate the patterns Get property from property store Call Convert into desire...

Other
Sep 5, 2013
0
0

Why are my posted messages getting lost when the user drags my window around?

Raymond Chen
Raymond Chen

This question was inspired by an actual customer question, but I changed a lot of it around to make for a more interesting story. (Trust me, the original story was even more boring.) A customer's background thread posted a message to the main UI thread to signal something (details not important). They found that the posted message was never rece...

Code
Sep 4, 2013
0
0

How permanent is the "Remove from this list" action on the Start menu?

Raymond Chen
Raymond Chen

From Windows XP to Windows 7, the Start menu showed the programs it thinks you've run most frequently, by employing a conceptually simple but complicated-in-practice algorithm. You can right-click an item on the menu and select Remove from this list. What exactly does this option do? Does it reset the points back to zero, or does it ban...

Tips/Support
Sep 3, 2013
0
0

If your product is client-managed, how do you sell the server?

Raymond Chen
Raymond Chen

A friend of mine told me about a project he worked on two decades (and three employers) ago. Let's call it Project Nosebleed. Their project used a client-managed database: You have a central file server that houses the database files, which were in a proprietary file format that only the clients understood. All the client applications open the data...

Other
Sep 2, 2013
0
0

If you had to deal with preschoolers all day, you'd need a nap too

Raymond Chen
Raymond Chen

Today, I'm turning it around: This is a dream that one of my friends had about me! She dreamed that she took her camera to school to take some pictures, possibly for the yearbook. She was somewhat surprised to discover that I was the new preschool teacher. When she popped in to my classroom to get a couple of pictures of me, she wasn't able to ta...

Non-ComputerDream
Sep 2, 2013
0
0

What is the official name of the most popular work visa in the United States?

Raymond Chen
Raymond Chen

The most popular work visa in the United States is the H1-B visa. But have you looked at its official name? H-1B Specialty Occupations, DOD Cooperative Research and Development Project Workers, and Fashion Models (Today is Labor Day, a holiday in the United States which celebrates the end of summer. Not really, but that's what it has turned int...

Non-Computer