home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 July
/
Chip_2000-07_cd.bin
/
sharewar
/
visds
/
visds.exe
/
Examples.txt
< prev
next >
Wrap
Text File
|
2000-05-05
|
3KB
|
145 lines
Example scripts
===============
These example scripts demonstrate how to use some of the features of
Visual DialogScript.
Most of them don't do anything useful, but merely demonstrate specific
or useful techniques, or are intended to be used as templates for your
own programs.
CALC
----
Files: Calc.dsc
A simple calculator.
CURSOR
------
Files: cursor.dsc
This file show the CURSOR options.
DDETEST
-------
Files: Ddetest.dsc
This script demonstrates a use of Dynamic Data Exchange (DDE). Specify
the server, topic and item and click Link to see the result. With
Progman specified in each field you should see a list of program groups.
DLGTEST
-------
Files: Dlgtest.dsc; dlgtest.dsr
This example script does nothing at all useful, but it demonstrates
nearly all the different dialog elements and many of the events that are
generated by them to give an example of how they work.
DRAGDROP
--------
Files: Dragdrop.dsc
This script shows how to respond to drag and drop actions when files are
dragged and dropped on to the dialog.
INFOTEST
--------
Files: Infotest.dsc
Demonstrates the system information you can obtain from a script.
MMPLAY
------
Files: Mmplay.dsc; mmplay.ico
This is a drag-and-drop media player. It demonstrates the use of drag
and drop and also the @MCI function to play multimedia files.
MODALDLG
--------
This example demonstrates how to create and use a simple child dialog
using the DIALOG SHOWMODAL command.
MULTIDLG
--------
This example demonstrates how to create and use a child dialog using
the DIALOG SHOW command. Though the programming is more complex than
for a modal dialog, it allows the child dialog to have its own events
which can be used to drive more sophisticated processing.
PARAMTST
--------
Files: Paramtst.dsc
This very simple script lets you see how command line parameters are
passed to a script.
PROPTIES
--------
Files: Propties.dsc
This is a simple example demonstrating how to implement a tabbed
property dialog using a TAB dialog element.
RESIZTST
--------
Files: Resiztst.dsc
This script illustrates how the RESIZE event is processed to resize
dialog elements so that they fit a resizable dialog window.
SKTEST
------
Files: Sktest.dsc
This script illustrates how to automate another application, in this
case the Windows accessory WordPad, using the WINDOW SEND command.
TASKICON
--------
Files: Taskicon.dsc; taskicon.dsr
This script illustrates a system tray icon application. An invisible
main window is created by omitting the DIALOG SHOW. When the icon is
clicked a popup menu is displayed. A modal dialog box is used to change
the settings. The tray icon can be loaded from a resource file, so
different icons can be encapsulated in a single file and easily
displayed.
TRACKBARS
---------
Files: trackbars.dsc
This script illustrates several ways to handle trackbar dialog element.
VERINFO
-------
Files: Verinfo.dsc
This useful tool shows how to use the @VERINFO function to extract
embedded version information from an executable file.
WIZARD
------
Files: Wizard.dsc; wizard.dsr
This is a simple example demonstrating how to implement a Wizard.