I’m not sure if this was a dare

Joe Beda stopped by my office, clutching a stack of documents he had just had notarized, and told me, “Raymond, you should become a notary public.” “Why?” “It’d be fun.” “Notarizing documents is fun?” “No, just being a notary public – just knowing that you had the power to notarize documents – would be fun….

6

Answers to exercises

Exercise: Explain why we used 0x7FFF to represent infinite height. Answer: Commenter “Reiko” got this right. 0x7FFF is the maximum integer coordinate supported by Windows 95, 98 and Me. Exercise: Explain the line rcWindow.bottom += rcTemp.top. Answer: The more precise way of writing the line would have been rcWindow.bottom += (rcTemp.top – rcWindow.top) – (0…


Whimsical bug reports

Whimsical bug reports, while not a common occurence, aren’t exactly unheard of either. They are a popular way to vent a shared frustration and lighten the mood. Recently, we changed milk suppliers for our cafeterias. Well, more accurately, our previous milk supplier was bought by another milk company. The problem is that the single-serving milk…

12

Scrollbars part 10 – Towards a deeper understanding of the WM_NCCALCSIZE message

When your window is resized, Windows uses the WM_NCCALCSIZE message to determine where your window’s client area lives inside your window rectangle. There are two forms of the WM_NCCALCSIZE message. The simple form merely takes a window rectangle and returns a client rectangle. This is useful for resizing a window to have a desired client…

2

You too can dress like Raymond

Yes, I’m the Raymond that Kraig Brockschmidt is writing about when he discusses “Dress Like Raymond Day”.

8

Computers are still too hard to use.

UK survey reveals that one in seven computer users needs help turning the computer on and off.

11

Why do some people call the taskbar the "tray"?

Short answer: Because they’re wrong. Long answer: The official name for the thingie at the bottom of the screen is the “taskbar”. The taskbar contains a variety of elements, such as the “Start Button”, a collection of “taskbar buttons”, the clock, and the “Taskbar Notification Area”. One of the most common errors is to refer…

73

Scrollbars part 9 – Maintaining the metaphor

When a document is displayed with scrollbars, the metaphor is that the window is a viewport onto the entire document, only a portion of which is visible at the moment. The default behavior of a resize, however, is to maintain the origin at the upper left corner of the client area, which breaks the metaphor…

2