| View previous topic :: View next topic |
| Author |
Message |
MondoNuovo Valued Newbie
Joined: 09 Jul 2001 Posts: 44 Location: Italy
|
Posted: Mon Mar 25, 2002 6:19 pm Post subject: PAINT style? |
|
|
Hi,
How is the PAINT style used?
Can someone do me an example?
Thanks |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Mar 25, 2002 9:01 pm Post subject: |
|
|
You can download the free DRAW.DLL I made (which includes a demo
DSC file that uses PAINT) here:
http://www.vdsworld.com/index.php?page=download&fileid=47
This is from the VDS Help file (it's in the DIALOG command topic):
PAINT: This style will cause PAINT events to be generated whenever the dialog is redrawn. This occurs when it is resized (if RESIZABLE), restored or when any part of the dialog surface that has formerly been obscured by another window now becomes visible. This style is only likely to be of use to writers of extension DLLs that draw directly on to the surface of the dialog. It serves no useful purpose in any other context, since VDS itself takes care of redrawing all dialog elements that need to be redrawn. Because VDS events are not queued, it is recommended that resizable windows that also use PAINT events should treat both RESIZE and PAINT events the same, i.e.: the two labels are placed one after the other so the same event processing code is executed. Otherwise one or other event may be lost and the corresponding code not executed.
Copyright © 1995 - 2001 S.A.D.E. s.a.r.l. / All rights are reserved. _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
MondoNuovo Valued Newbie
Joined: 09 Jul 2001 Posts: 44 Location: Italy
|
Posted: Mon Mar 25, 2002 10:14 pm Post subject: |
|
|
Thanks Mac  |
|
| Back to top |
|
 |
|