This was something new:
lDC = GetDC(0)

Why do you get the desktop DC by passing 0 as the hWnd?

------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com