>Hi Sergey,
>
>Thanks for the information on WM_PAINT. Where did you get this? Is there a list somewhere of WM_message values?
>
>Regards,
Jim,
Also, it's declared in the winuser.h header file. The way I generally find these values is to check the function or constant declaration in the MSDN library. There it will tell you where it's declared. The header files are in the Include folder beneath the VC++ main directory.
George
Ubi caritas et amor, deus ibi est