mirror of
https://github.com/reactos/reactos.git
synced 2024-06-21 13:31:38 +00:00
[SEHLL32]
* Implement handling of file associations marked as "NoOpen". Patch by Lee Schroeder, with a few tweaks. CORE-8855 #resolve #comment Commited in trunk r65697. Thanks. svn path=/trunk/; revision=65697
This commit is contained in:
parent
5b22f2c5c3
commit
4c893c3d59
|
@ -37,6 +37,7 @@ HKCR,"rtffile\shell\open\command","",0x00020000,"%SystemRoot%\system32\wordpad.e
|
|||
HKCR,".386","",0x00000000,"vxdfile"
|
||||
HKCR,".vxd","",0x00000000,"vxdfile"
|
||||
HKCR,"vxdfile","",0x00000000,"Virtual Device Driver"
|
||||
HKCR,"vxdfile","NoOpen",0x00000000,""
|
||||
HKCR,"vxdfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-157"
|
||||
|
||||
; Animated Cursors
|
||||
|
@ -86,6 +87,7 @@ HKCR,"curfile\DefaultIcon","",0x00000000,"%1"
|
|||
; Dynamic Link Libraries
|
||||
HKCR,".dll","",0x00000000,"dllfile"
|
||||
HKCR,"dllfile","",0x00000000,"Dynamic Link Library"
|
||||
HKCR,"dllfile","NoOpen",0x00000000,""
|
||||
HKCR,"dllfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-163"
|
||||
HKCR,"dllfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-154"
|
||||
|
||||
|
@ -260,6 +262,7 @@ HKCR,"SHCmdFile\shellex\IconHandler","",0x00000000,"{57651662-CE3E-11D0-8D77-00C
|
|||
; System-Files
|
||||
HKCR,".sys","",0x00000000,"sysfile"
|
||||
HKCR,"sysfile","",0x00000000,"System File"
|
||||
HKCR,"sysfile","NoOpen",0x00000000,""
|
||||
HKCR,"regfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-171"
|
||||
HKCR,"sysfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-154"
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ class COpenWithList
|
|||
static HICON GetIcon(SApp *pApp);
|
||||
static BOOL Execute(SApp *pApp, LPCWSTR pwszFilePath);
|
||||
static BOOL IsHidden(SApp *pApp);
|
||||
inline BOOL IsNoOpen(VOID) { return m_bNoOpen; }
|
||||
BOOL LoadRecommended(LPCWSTR pwszFilePath);
|
||||
BOOL SetDefaultHandler(SApp *pApp, LPCWSTR pwszFilename);
|
||||
|
||||
|
@ -775,12 +776,14 @@ class COpenWithDialog
|
|||
COpenWithDialog(const OPENASINFO *pInfo, COpenWithList *pAppList);
|
||||
~COpenWithDialog();
|
||||
static INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
BOOL IsNoOpen(HWND hwnd);
|
||||
|
||||
private:
|
||||
VOID Init(HWND hwnd);
|
||||
VOID AddApp(COpenWithList::SApp *pApp, BOOL bSelected);
|
||||
VOID Browse();
|
||||
VOID Accept();
|
||||
static BOOL CALLBACK NoOpenDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam);
|
||||
COpenWithList::SApp *GetCurrentApp();
|
||||
|
||||
const OPENASINFO *m_pInfo;
|
||||
|
@ -790,10 +793,11 @@ class COpenWithDialog
|
|||
HTREEITEM m_hRecommend;
|
||||
HTREEITEM m_hOther;
|
||||
HIMAGELIST m_hImgList;
|
||||
BOOL m_bNoOpen;
|
||||
};
|
||||
|
||||
COpenWithDialog::COpenWithDialog(const OPENASINFO *pInfo, COpenWithList *pAppList = NULL):
|
||||
m_pInfo(pInfo), m_pAppList(pAppList), m_hImgList(NULL)
|
||||
m_pInfo(pInfo), m_pAppList(pAppList), m_hImgList(NULL), m_bNoOpen(FALSE)
|
||||
{
|
||||
if (!m_pAppList)
|
||||
{
|
||||
|
@ -812,6 +816,53 @@ COpenWithDialog::~COpenWithDialog()
|
|||
ImageList_Destroy(m_hImgList);
|
||||
}
|
||||
|
||||
BOOL CALLBACK COpenWithDialog::NoOpenDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
switch(Message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
case WM_CLOSE:
|
||||
EndDialog(hwnd, IDNO);
|
||||
break;
|
||||
case WM_COMMAND:
|
||||
switch(LOWORD(wParam))
|
||||
{
|
||||
case IDYES:
|
||||
EndDialog(hwnd, IDYES);
|
||||
break;
|
||||
case IDNO:
|
||||
EndDialog(hwnd, IDNO);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL COpenWithDialog::IsNoOpen(HWND hwnd)
|
||||
{
|
||||
/* Only do the actual check if the file type has the 'NoOpen' flag. */
|
||||
if (m_bNoOpen)
|
||||
{
|
||||
int dReturnValue = DialogBox(shell32_hInstance, MAKEINTRESOURCE(IDD_NOOPEN), hwnd, NoOpenDlgProc);
|
||||
|
||||
if (dReturnValue == IDNO)
|
||||
return TRUE;
|
||||
else if (dReturnValue == -1)
|
||||
{
|
||||
ERR("IsNoOpen failed to load the dialog box.");
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
VOID COpenWithDialog::AddApp(COpenWithList::SApp *pApp, BOOL bSelected)
|
||||
{
|
||||
LPCWSTR pwszName = m_pAppList->GetName(pApp);
|
||||
|
@ -924,6 +975,10 @@ VOID COpenWithDialog::Init(HWND hwnd)
|
|||
m_pAppList->Load();
|
||||
m_pAppList->LoadRecommended(m_pInfo->pcszFile);
|
||||
|
||||
/* Determine if the type of file can be opened directly from the shell */
|
||||
if (m_pAppList->IsNoOpen() != FALSE)
|
||||
m_bNoOpen = TRUE;
|
||||
|
||||
/* Init treeview */
|
||||
m_hTreeView = GetDlgItem(hwnd, 14002);
|
||||
m_hImgList = ImageList_Create(16, 16, 0, m_pAppList->GetCount() + 1, m_pAppList->GetCount() + 1);
|
||||
|
@ -1395,6 +1450,9 @@ SHOpenWithDialog(HWND hwndParent, const OPENASINFO *poainfo)
|
|||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (pDialog.IsNoOpen(hwndParent))
|
||||
return S_OK;
|
||||
|
||||
ShowWindow(hwnd, SW_SHOWNORMAL);
|
||||
|
||||
while (GetMessage(&msg, NULL, 0, 0) && IsWindow(hwnd))
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Отказ", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -612,6 +612,20 @@ BEGIN
|
|||
PUSHBUTTON "Storno", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -612,6 +612,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -623,6 +623,20 @@ BEGIN
|
|||
PUSHBUTTON "Abbrechen", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -623,6 +623,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancelar", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Annuler", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Annulla", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "キャンセル", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 9, "MS UI Gothic"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Avbryt", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Anuluj", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancelar", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancelar", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -608,6 +608,20 @@ BEGIN
|
|||
PUSHBUTTON "A&nulează", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -608,6 +608,20 @@ BEGIN
|
|||
PUSHBUTTON "Отмена",IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Zrušiť", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -610,6 +610,20 @@ BEGIN
|
|||
PUSHBUTTON "Anulo", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "İptal", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -606,6 +606,20 @@ BEGIN
|
|||
PUSHBUTTON "Скасувати", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -615,6 +615,20 @@ BEGIN
|
|||
PUSHBUTTON "取消", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -614,6 +614,20 @@ BEGIN
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 167, 181, 50, 14
|
||||
END
|
||||
|
||||
IDD_NOOPEN DIALOGEX 0, 0, 240, 75
|
||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Caution"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_SHELL_DOCUMENT, IDI_SHELL_DOCUMENT, 5, 5, 21, 20
|
||||
LTEXT "This file could either be used by the operating system or by\n\
|
||||
another application. Modifying this file might damage your\n\
|
||||
system or make it less functional.\n\n\
|
||||
Are you sure you want to open this file?", IDC_STATIC, 35, 5, 230, 60
|
||||
DEFPUSHBUTTON "Yes", IDYES, 125, 55, 50, 14
|
||||
PUSHBUTTON "No", IDNO, 180, 55, 50, 14
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* columns in the shellview */
|
||||
|
|
|
@ -288,16 +288,17 @@
|
|||
#define IDD_OPEN_WITH 24
|
||||
#define IDD_FORMAT_DRIVE 25
|
||||
#define IDD_CHECK_DISK 26
|
||||
#define IDD_NOOPEN 27
|
||||
|
||||
/* Not used dialogs */
|
||||
#define IDD_FILE_COPY 27
|
||||
#define IDD_SHUTDOWN 28
|
||||
#define IDD_LOG_OFF 29
|
||||
#define IDD_DISCONNECT 30
|
||||
#define IDD_CONFIRM_FILE_REPLACE 31
|
||||
#define IDD_AUTOPLAY1 32
|
||||
#define IDD_MIXED_CONTENT1 33
|
||||
#define IDD_MIXED_CONTENT2 34
|
||||
#define IDD_FILE_COPY 28
|
||||
#define IDD_SHUTDOWN 29
|
||||
#define IDD_LOG_OFF 30
|
||||
#define IDD_DISCONNECT 31
|
||||
#define IDD_CONFIRM_FILE_REPLACE 32
|
||||
#define IDD_AUTOPLAY1 33
|
||||
#define IDD_MIXED_CONTENT1 34
|
||||
#define IDD_MIXED_CONTENT2 35
|
||||
|
||||
/* Icons */
|
||||
#define IDI_SHELL_DOCUMENT 1
|
||||
|
|
Loading…
Reference in a new issue