Subscribe here to be notified about updates to www.PretentiousName.com.

(Directory Opus stuff will generally not be mentioned here; see the Directory Opus news feed instead.)

Monday 22 November 2010

Turn MSDN red for Windows CE

I've added a new, simple script for the Greasemonkey extension for Firefox.

When viewing Windows API documentation on the MSDN website, this script will turn the background red if it detects the documentation is for Windows CE, Windows Mobile or Windows Embedded.

WinCE API pages are highlighted with a red background

I wrote this script after years of frustration caused by web searches for Win32 API documentation (and the craptacularly broken F1 help in Visual Studio) landing me on pages for similar, but slightly different, WinCE APIs with the same names. The default page styles are identical and the APIs are so similar that it's easy too miss that you're on the wrong page. (If you realise at all it's usually after reading most of the page, at which point you have to find and re-read the real API's page in case it's different.) Turning the background red makes it obvious that you've wound up in the wrong place the moment the page loads.

Grab the script form my main site:
http://www.pretentiousname.com/gm/msdn_wince.html

No comments:

Post a Comment