home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 4.7
/
1999-01_-_Disc_4.7.bin
/
ELINK
/
CLARISHP
/
_SETUP.1
/
HOMEPAGE.exe
/
1009
/
1000
next >
Wrap
Text File
|
1997-02-20
|
3KB
|
124 lines
// -----
// VDL1000.txt
// Copyright 1996 SPI
// -----
//NOTE: This dialog is NOT USED on Windows, the standard system Message box is.
/************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
#define kOKButtonText "&OK"
#define kCancelButtonText "&Cancel"
#define kYesButtonText "&Yes"
#define kNoButtonText "&No"
/************************** LOCALIZED STRING CONSTANTS END **************************************/
/************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
#if Platform_Mac
#define kOKButtonWidth 70
#define kCancelButtonWidth 70
#define kYesButtonWidth 70
#define kNoButtonWidth 70
#else
#define kOKButtonWidth 100
#define kCancelButtonWidth 100
#define kYesButtonWidth 100
#define kNoButtonWidth 100
#endif
/************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
//No further localizable data past this point
/************************** END LOCALIZABLE DATA ***************************************************/
#ifndef YES_NO_DIALOG
#define YES_NO_DIALOG 0
#endif
#ifndef OK_CANCEL_DIALOG
#define OK_CANCEL_DIALOG 0
#endif
#ifndef OK_DIALOG
#define OK_DIALOG 0
#endif
#ifndef ERROR_ICON
#define ERROR_ICON 0
#endif
#ifndef WARNING_ICON
#define WARNING_ICON 0
#endif
#if YES_NO_DIALOG
#define kButtonAText kYesButtonText
#define kButtonBText kNoButtonText
#define kButtonAWidth kYesButtonWidth
#define kButtonBWidth kNoButtonWidth
#else
#define kButtonAText kOKButtonText
#define kButtonBText kCancelButtonText
#define kButtonAWidth kOKButtonWidth
#define kButtonBWidth kCancelButtonWidth
#endif
Margin(10, 10, 10, 10)
VList()
{
HList()
{
#if ERROR_ICON
ICON(1000);
#elif WARNING_ICON
ICON(2);
#else
ICON(1);
#endif
Spacer(Width = 10);
StaticText(errorMessage, Width = 350, BackColor = White);
}
Spacer(Height = 10);
HList(Width = UseParent)
{
Spacer(Width = UseParent, Height = 0);
#if Platform_Mac
#if OK_CANCEL_DIALOG || YES_NO_DIALOG
CancelButton(kButtonBText, 1070, "None", Width = kButtonBWidth);
Spacer(Width = 10, Height = 0);
#endif
DefaultButton(kButtonAText, 1071, "None", Width = kButtonAWidth);
#else
#if OK_CANCEL_DIALOG || YES_NO_DIALOG
DefaultButton(kButtonAText, 1071, "None", Width = kButtonAWidth);
Spacer(Width = 10, Height = 0);
#endif
CancelButton(kButtonBText, 1070, "None", Width = kButtonBWidth);
#endif
}
}