TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Henrik Falk
from: Jonathan de Boyne Pollard
date: 1996-03-11 00:32:00
subject: paintWindow() method

HF>
  > Returning false in my paintWindow method results as expected that the
  > IMultiCellCanvas is drawn last.
  > When returning true only my painthandler is called.
  >
  > How do I get my IPaintHandler to paint the control after and upon the
  > IMultiCellCanvas ?
HF>

  One way (and this doesn't just apply to IOC) is to post (*not* send)
  yourself a private message when you see a paint event.  Leave the normal
  paint processing up to the default event handler, and do your paint
  processing when you receive your private message.

  The disadvantage of this method is that you cannot do decent clip
  processing, since the "real" paint event clears your update rectangle.
  You also have to ensure that your custom event is unique.

  > JdeBP <
___
 X MegaMail 2.10 #0:
--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 440/4 141/209 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.