>>Mike, thanks for the code. Looks like I can forget about warnings and GetWindowDC problem for now.
>
>I didn't realize the link I sent you was in VB6. I found that class in code I inherited and saw that link referenced in the comments, and just assumed it was VB.NET.
I found this link yesterday too, but didn't post it, since it was VB code :)
If it's not broken, fix it until it is.
My Blog