Huw Davies : oledlg: Paste special dialog resource.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 20 04:45:51 CDT 2006


Module: wine
Branch: master
Commit: 3c2c4a030ca6f72af4278d3408c7393d78938af1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3c2c4a030ca6f72af4278d3408c7393d78938af1

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Oct 18 17:21:11 2006 +0100

oledlg: Paste special dialog resource.

---

 dlls/oledlg/oledlg_En.rc |   26 ++++++++++++++++++++++++++
 dlls/oledlg/rsrc.rc      |    2 ++
 2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/dlls/oledlg/oledlg_En.rc b/dlls/oledlg/oledlg_En.rc
index 9d746f6..c1faa58 100644
--- a/dlls/oledlg/oledlg_En.rc
+++ b/dlls/oledlg/oledlg_En.rc
@@ -53,3 +53,29 @@ STRINGTABLE DISCARDABLE
   IDS_NOTOLEMOD         "File does not appear to be a valid OLE module. Unable to register OLE control."
   IDS_NOTOLEMODCAPTION  "Add Control"
 }
+
+IDD_PASTESPECIAL4 DIALOG DISCARDABLE 3, 15, 293, 140
+STYLE DS_MODALFRAME | DS_SETFONT | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Paste Special"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT         "Source:", -1, 6, 9, 30, 8, WS_VISIBLE | WS_GROUP
+    CONTROL       "&Paste", IDC_PS_PASTE, "Button", BS_AUTORADIOBUTTON | WS_TABSTOP | WS_GROUP | WS_VISIBLE,
+                  6, 38, 55, 10
+    CONTROL       "Paste &Link", IDC_PS_PASTELINK, "Button", BS_AUTORADIOBUTTON | WS_VISIBLE,
+                  6, 63, 55, 10
+    LTEXT         "&As:", -1, 65, 25, 16, 8, WS_VISIBLE | WS_GROUP
+    LISTBOX       IDC_PS_PASTELIST,     65, 36, 153, 57, LBS_NOTIFY | LBS_USETABSTOPS | WS_VSCROLL | WS_BORDER | NOT WS_VISIBLE
+    LISTBOX       IDC_PS_PASTELINKLIST, 65, 36, 153, 57, LBS_NOTIFY | LBS_USETABSTOPS | WS_VSCROLL | WS_BORDER | NOT WS_VISIBLE
+    LISTBOX       IDC_PS_DISPLAYLIST,   65, 36, 153, 57, LBS_NOTIFY | LBS_USETABSTOPS | WS_VSCROLL | WS_BORDER | WS_VISIBLE
+    CONTROL       "OK", IDOK, "Button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_GROUP | WS_VISIBLE, 224, 6, 66, 14
+    CONTROL       "Cancel", IDCANCEL, "Button", BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE, 224, 23, 66, 14
+    CONTROL       "&Help", IDC_OLEUIHELP, "Button", BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE, 224, 42, 66, 14
+    CONTROL       "&Display As Icon", IDC_PS_DISPLAYASICON, "Button", BS_AUTOCHECKBOX | WS_TABSTOP | WS_VISIBLE, 224, 59, 66, 14
+    CONTROL       "", IDC_PS_ICONDISPLAY, "Static", SS_ICON | WS_VISIBLE, 224, 75, 66, 44
+    CONTROL       "Change &Icon...", IDC_PS_CHANGEICON, "Button", BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE, 224, 123, 66, 14
+    CONTROL       "", IDC_PS_RESULTIMAGE, "Static", SS_ICON | WS_VISIBLE, 8, 101, 42, 34
+    CONTROL       "<< result text goes here >>", IDC_PS_RESULTTEXT, "Static", SS_NOPREFIX | WS_VISIBLE, 54, 100, 159, 35
+    CONTROL       "Result", -1, "Button", BS_GROUPBOX | WS_GROUP | WS_VISIBLE, 6, 90, 212, 48
+    CONTROL       "", IDC_PS_SOURCETEXT, "Edit", ES_READONLY | ES_AUTOHSCROLL | WS_VISIBLE, 37, 9, 180, 8
+END
diff --git a/dlls/oledlg/rsrc.rc b/dlls/oledlg/rsrc.rc
index 0754828..0aaaadc 100644
--- a/dlls/oledlg/rsrc.rc
+++ b/dlls/oledlg/rsrc.rc
@@ -22,6 +22,8 @@ #include "windef.h"
 #include "winbase.h"
 #include "winuser.h"
 #include "winnls.h"
+#include "oledlg.h"
+
 #include "resource.h"
 
 /*




More information about the wine-cvs mailing list