>Ed,
>
>Thanks for posting the code!
>
>>I put it under FAQ/Win32API; it looked horrible in the text box, though
>
>Do you have more than one PRE tag? Content posted here or in FAQ with more than one PRE tag will hose anything after the first one.
Nope - just one PRE tag, but the lines, especially comments, may be a bit long for the UI. We'll see when it posts as a FAQ.