/* 
 * Copyright distributed.net 1997-2000 - All Rights Reserved
 * For use in distributed.net projects only. YEAH! :)
 * Any other distribution or use of this source violates copyright.
 *
 * Revision $Id: w32cons.rc,v 1.1.2.9 2000/02/01 04:16:47 cyp Exp $
*/

#define DNETC_EXE_ICO "platforms\\win32cli\\w32cons.ico" //dnet2.ico,w32cons.ico
#define DNETC_SCR_ICO "platforms\\win32cli\\w32ss.ico"

#ifndef NONDCTI_SPECIAL
  #include "..\..\common\version.h"
  #define SSVI_COMPANYNAME "Distributed Computing Technologies, Inc."
  #define SSVI_FILEDESCR   "distributed.net client"
  #define SSVI_SSNAME      "distributed.net client launcher" //max 25
  #define SSVI_VERMAJOR    (CLIENT_CONTEST*100+CLIENT_BUILD)
  #define SSVI_VERMINOR    CLIENT_BUILD_FRAC
  #define SSVI_VERSTRING   CLIENT_VERSIONSTRING
#else
  #define SSVI_COMPANYNAME "FooBar Technologies, Inc."
  #define SSVI_FILEDESCR   "OnIdle Application Launcher"
  #define SSVI_SSNAME      "OnIdle app launcher" //max 25
  #define SSVI_VERMAJOR    1
  #define SSVI_VERMINOR    10
  #define SSVI_VERSTRING   "1.10"
#endif  

#define SSCONFIG_FNICON     400
#define SSCONFIG_FNCAPTION  402
#define SSCONFIG_FNMRU      403
#define SSCONFIG_FNBROWSE   404
#define SSCONFIG_FNCONFIG   405
#define SSCONFIG_FN         406

#define SSCONFIG_SSPREVIEW  407
#define SSCONFIG_SSLIST     408
#define SSCONFIG_LISTCONFIG 409
#define SSCONFIG_SSICON     410

#define SSCONFIG_HELPTEXT   450

#include <windows.h>

#undef BS_NOTIFY //           0x00004000L
#define BS_NOTIFY 0

/* damnit! why doesn't "1 1 ... rawdata" work? */
1 ICON LOADONCALL MOVEABLE DISCARDABLE DNETC_EXE_ICO
SSCONFIG_SSICON ICON LOADONCALL MOVEABLE DISCARDABLE DNETC_SCR_ICO

1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE 
              FILEVERSION 2,SSVI_VERMAJOR,SSVI_VERMINOR,0
              PRODUCTVERSION 2,SSVI_VERMAJOR,SSVI_VERMINOR,0
              //FILEFLAGSMASK 0x0L
              //FILEFLAGS 0x3eL
              FILEOS 0x4L
              FILETYPE 0x1L
              FILESUBTYPE 0x0L
              BEGIN
                 BLOCK "StringFileInfo"
                 BEGIN
                    BLOCK "040904E4"
                    BEGIN
                       VALUE "CompanyName", SSVI_COMPANYNAME "\0"
                       VALUE "FileDescription", SSVI_FILEDESCR "\0"
                       VALUE "FileVersion", SSVI_VERSTRING "\0"
                       VALUE "InternalName", "dnetc\0"
                       VALUE "LegalCopyright", "Copyright \251 1997-2000. All Rights Reserved.\0"
                       //VALUE "LegalTrademarks", "distributed.net is a trademark of Distributed Computing Technologies, Inc.\0"
                       VALUE "OriginalFilename", "dnetc.exe\0"
                       VALUE "ProductName", SSVI_FILEDESCR "\0"
                       VALUE "ProductVersion", SSVI_VERSTRING "\0"
                    END
                 END
                 BLOCK "VarFileInfo"
                 BEGIN
                    VALUE "Translation", 0x409, 1252
                 END
              END

1 DIALOG 24, 83, 250, 103
STYLE DS_MODALFRAME | 0x4L | WS_OVERLAPPED | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "distributed.net client for Windows"
FONT 8, "Helv"
{
 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP , 108, 83, 33, 14
 CONTROL 1, -1, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 14, 11, 18, 20
 CONTROL "", 201, "EDIT", ES_LEFT | ES_NOHIDESEL | ES_READONLY | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 40, 17, 195, 8
 CONTROL "", 202, "STATIC", SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 42, 234, 18
 CONTROL "distributed.net bug tracking pages are at http://www.distributed.net/bugs/", -1, "STATIC", SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 62, 243, 8
 CONTROL "Please provide the entire version descriptor when making reports.", -1, "STATIC", SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 70, 234, 8
 CONTROL "distributed.net client - a project of distributed.net", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 40, 9, 195, 8
 CONTROL "Copyright 1997-2000 distributed.net", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 40, 25, 195, 8
 CONTROL "", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 6, 0, 237, 38
}

#ifndef DLG_SCRNSAVECONFIGURE
#define DLG_SCRNSAVECONFIGURE   2003
#endif

DLG_SCRNSAVECONFIGURE DIALOG 18, 41, 291, 153
STYLE DS_MODALFRAME | 0x4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "distributed.net client launcher"
FONT 8, "Helv"
{
 CONTROL 1, SSCONFIG_FNICON, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE | WS_GROUP, 15, 15, 18, 20
 CONTROL "Full path to the distributed.net client:", SSCONFIG_FNCAPTION, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 39, 13, 167, 10
 CONTROL "", SSCONFIG_FN, "EDIT", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 39, 23, 185, 12
 CONTROL "Always use the most recently run client", SSCONFIG_FNMRU, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_GROUP | WS_TABSTOP | BS_NOTIFY, 40, 37, 142, 12
 CONTROL "B&rowse", SSCONFIG_FNBROWSE, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_NOTIFY, 229, 22, 50, 14
 CONTROL "Con&figure", SSCONFIG_FNCONFIG, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_NOTIFY, 229, 38, 50, 14
 CONTROL SSCONFIG_SSICON, SSCONFIG_SSICON, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 15, 73, 18, 20
 CONTROL "Screen Saver to run in the foreground:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 39, 71, 167, 10
 CONTROL "", SSCONFIG_SSLIST, "COMBOBOX", CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_VSCROLL | WS_GROUP | WS_TABSTOP, 39, 81, 185, 50
 CONTROL "&Settings...", SSCONFIG_LISTCONFIG, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_TABSTOP | BS_NOTIFY, 229, 81, 50, 14
 CONTROL "Pre&view", SSCONFIG_SSPREVIEW, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_NOTIFY, 229, 97, 50, 14
 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_NOTIFY, 173, 121, 50, 14
 CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_NOTIFY, 229, 121, 50, 14
 CONTROL "Background", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE | BS_NOTIFY, 7, 2, 278, 56
 CONTROL "Foreground", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE | BS_NOTIFY, 7, 60, 278, 56
 CONTROL "", SSCONFIG_HELPTEXT, "STATIC", SS_LEFT | SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP, 1, 142, 288, 10
 CONTROL "", -1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE  | BS_NOTIFY, 0, 137, 291, 16
}

STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE 
BEGIN
           1 SSVI_SSNAME /* max 25 chars */
END
