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 


Draw custom edges to your Dialog

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code
View previous topic :: View next topic  
Author Message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1054
Location: India

PostPosted: Sat Jul 26, 2003 5:39 pm    Post subject: Draw custom edges to your Dialog Reply with quote

DRAW EDGE DEMO

Quick Info - Draw custom edges to your dialogs.
VDS version - VDS 5.x +
Windows version - Win 9x/Win 2k/NT/XP
Not compatible - None
Non-VDS/Non System dll - No.
API - Yes.
Tested on - Win XP.
Difficulty Rating - Beginner/Intermediate/Advanced



This simple script demonstrates how to set different edge styles to your Dialog using API.

How to use:
Place the include file Drawedge.fil in the same directory as the .dsc file.
Add the fillowng line to the top of the script:
Code:
#include Drawedge.fil

Set Paint style to your dialog
Add a label paint as below:

Code:
:PAINT
EDGE %A
GOTO EVLOOP


Where %A can be one of the following:
RAISED
SUNKEN
ETCHED
BUMP

This sets the edge style of your choice.
The included demo helps you test all the 4 styles.

Get the complete package from here:

http://www.vdsworld.com/index.php?page=download&fileid=303

Enjoy !

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension


Last edited by CodeScript on Thu Jul 31, 2003 6:13 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Jul 26, 2003 5:46 pm    Post subject: Reply with quote

Nice, nice, nice! Great work, I've been wondering how to do that for a long
time! Very Happy

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sun Jul 27, 2003 7:42 am    Post subject: Reply with quote

well done codescript...a handy feature Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code 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