<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dmitry Timoshkov wrote:<br>
<blockquote cite="mid003201c4e431$e3be5a90$4d7bed50@dmitry" type="cite">
  <pre wrap="">"Katia Maculan" <a class="moz-txt-link-rfc2396E" href="mailto:katia.maculan@isis-papyrus.com">&lt;katia.maculan@isis-papyrus.com&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">+  switch (message) 
+  {
+    case WM_SHOWWINDOW:
+    case WM_SIZE:
+   DefWindowProc(hWnd, message, wParam, lParam);
+   PostMessage (hWnd, WM_PAINT, 0, 0);
    </pre>
  </blockquote>
  <pre wrap=""><!---->
If you wish to schedule a WM_PAINT message you have to invalidate
a window.

  </pre>
</blockquote>
You are right but with an InvalidateRect a WM_PAINT is not generated I
think for another problem.<br>
Katia<br>
<pre class="moz-signature" cols="72">-- 

Katia Maculan
Developer
ISIS Papyrus Italy Srl
Tel: (+39) 0125 6455400 Fax: (+39) 0125 6455150
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:katia.maculan@isis-papyrus.com">katia.maculan@isis-papyrus.com</a>

Info: <a class="moz-txt-link-abbreviated" href="mailto:info@isis-papyrus.com">info@isis-papyrus.com</a>
Hotline: +43-2236-27551-111
Visit our Website: <a class="moz-txt-link-freetext" href="http://www.isis-papyrus.com">http://www.isis-papyrus.com</a> </pre>
</body>
</html>