View previous topic :: View next topic |
Author |
Message |
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Sat Jul 26, 2003 5:39 pm Post subject: Draw custom edges to your Dialog |
|
|
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
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 |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Jul 26, 2003 5:46 pm Post subject: |
|
|
Nice, nice, nice! Great work, I've been wondering how to do that for a long
time! _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sun Jul 27, 2003 7:42 am Post subject: |
|
|
well done codescript...a handy feature
serge _________________
|
|
Back to top |
|
|
|