>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.