Dialog File Syntax and Samples

Top  Previous  Next

Dialog Sample:

 

Sample:

Title: Something went wrong

Text: Windows will now deleta all\nfiles from your hard drive.

Bitmap: images\Error3.ico

Wave: sounds\Windows XP Error.wav

Button: .&Cancel

ButtonLink: hardware1.cfg

Button: &Ok

 

Tricks:

Use a '.' character as the first character of a button to disable it.
Use the ButtonLink field to trigger another dialog when they press the last button.  Link to a .cfi dialog file if you do not want this other dialog to ever be picked randomly.
Edit the about dialog file "about.cfi" to change the about dialog.
You can use %appexename% in text and title and it will be replaced with current app exe name or "Windows" if none found.

 

Other Stuff:

use the field SpecificExe to specify a coma separated list of application exes associated with this dialog.  For example:

Title: %appexename% is unhappy

Text: Please try to type a little quieter.

Bitmap: images\Error3.ico

Wave: sounds\Windows XP Error.wav

Button: &Cancel

Button: &Ok

SpecificExe: word.exe,uedit32.exe

 

If the SpecificExe field is specified and * is not in the list, the dialog will not be displayed unless the specific app is active.