Added file transfer confirmation dialog.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@360 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/resource.h b/vncviewer/resource.h
index fb3281d..93690a2 100644
--- a/vncviewer/resource.h
+++ b/vncviewer/resource.h
@@ -19,6 +19,7 @@
 #define IDD_FILETRANSFER_DLG            120
 #define IDB_TOOLBAR                     121
 #define IDD_FTDIRNAME_DLG               123
+#define IDD_FTCONFIRM_DLG               124
 #define IDC_PASSWORD                    1000
 #define IDC_CONNECTING_TEXT             1001
 #define IDC_SERVER_EDIT                 1002
@@ -94,6 +95,8 @@
 #define IDC_FTLOCALLABEL                1076
 #define IDC_FTREMOTELABEL               1077
 #define IDC_EDIT1                       1078
+#define IDC_CONFIRM_YESTOALL            1079
+#define IDC_CONFIRM_TEXT                1080
 #define ID_CLOSE                        40002
 #define ID_OPTIONS                      40003
 #define ID_NEW_CONNECTION               40004
@@ -103,9 +106,9 @@
 // 
 #ifdef APSTUDIO_INVOKED
 #ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE        124
+#define _APS_NEXT_RESOURCE_VALUE        125
 #define _APS_NEXT_COMMAND_VALUE         40006
-#define _APS_NEXT_CONTROL_VALUE         1079
+#define _APS_NEXT_CONTROL_VALUE         1081
 #define _APS_NEXT_SYMED_VALUE           101
 #endif
 #endif
diff --git a/vncviewer/vncviewer.rc b/vncviewer/vncviewer.rc
index d1ca4bf..77b37f6 100644
--- a/vncviewer/vncviewer.rc
+++ b/vncviewer/vncviewer.rc
@@ -37,6 +37,16 @@
     LTEXT           "New Folder Name",IDC_STATIC,7,7,93,8
 END
 
+IDD_FTCONFIRM_DLG DIALOG DISCARDABLE  0, 0, 188, 143
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+FONT 8, "MS Sans Serif"
+BEGIN
+    DEFPUSHBUTTON   "Yes",IDOK,69,122,50,14
+    PUSHBUTTON      "No",IDCANCEL,131,122,50,14
+    PUSHBUTTON      "Yes to All",IDC_CONFIRM_YESTOALL,7,122,50,14
+    LTEXT           "Static",IDC_CONFIRM_TEXT,7,7,174,107
+END
+
 
 /////////////////////////////////////////////////////////////////////////////
 //
@@ -53,6 +63,14 @@
         TOPMARGIN, 7
         BOTTOMMARGIN, 56
     END
+
+    IDD_FTCONFIRM_DLG, DIALOG
+    BEGIN
+        LEFTMARGIN, 7
+        RIGHTMARGIN, 181
+        TOPMARGIN, 7
+        BOTTOMMARGIN, 136
+    END
 END
 #endif    // APSTUDIO_INVOKED