>Hi Sergey,
>
>Thanks for the information on WM_PAINT. Where did you get this? Is there a list somewhere of WM_message values?
>
Hi James,
I guess, I didn't explain it clearly enough in my previous message. <s>
There're two places to look for Win API constants:
1. In the Win API header file that's listed at the end of the function description in MSDN.
2. In the Visual Studio 6 API Text Viewer. It provides Win API and constant declarations for VB. I usually use this one.
--sb--