forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


PAINT style?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
MondoNuovo
Valued Newbie


Joined: 09 Jul 2001
Posts: 44
Location: Italy

PostPosted: Mon Mar 25, 2002 6:19 pm    Post subject: PAINT style? Reply with quote

Sad Hi,
How is the PAINT style used?
Can someone do me an example? Very Happy

Thanks
Back to top
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Mar 25, 2002 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
MondoNuovo
Valued Newbie


Joined: 09 Jul 2001
Posts: 44
Location: Italy

PostPosted: Mon Mar 25, 2002 10:14 pm    Post subject: Reply with quote

Thanks Mac Very Happy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group