>
>All I want is to do some painting on its window after each WM_PAINT message. But it looks that this is way over my knowledge, there are to many things I should learn to understand how this works.
>
>Even if I was able to bind to the WM_PAINT message, there are many things to consider, the region that needs updating, use BeginPaint instead of GetDC, etc. Too much for what i want to do.
>
>I just want to draw a 1 pixel border around the client area of a window, and i have to do it every time the window redrwas itself.
>
>Carlos
Hi
Did you read the article written by Craig Boyd in FoxTalk?
http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,1e3a72fe-ffba-43fe-97bf-d0856a435750.aspx