From 4db684c655e85e367e73409101b622e71981095f Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 22 七月 2024 09:42:36 +0800
Subject: [PATCH] update
---
jrj/project/business/SO/maint.Document.SO3.v3.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/jrj/project/business/SO/maint.Document.SO3.v3.cpp b/jrj/project/business/SO/maint.Document.SO3.v3.cpp
index b5af603..4e1046e 100644
--- a/jrj/project/business/SO/maint.Document.SO3.v3.cpp
+++ b/jrj/project/business/SO/maint.Document.SO3.v3.cpp
@@ -146,7 +146,7 @@
alert(L"文件打开失败1!");
return -1;
}
- //openRet = win32::ShellExecute(0,L"open",L"C:/Temp/"+name,L"",L"",5);
+ //openRet = ShellExecuteW(0,L"open",L"C:/Temp/"+name,L"",L"",5);
openRet = ShellExecuteW(0, L"open", L"C:/Temp/" + sfile + ext, L"", L"", 5);
if (openRet < 32)
{
@@ -214,6 +214,7 @@
}
return 0;
}
+#if 0
int OnDocumentOpen()
{
int LVNI_ALL = 0x0000;
@@ -264,7 +265,7 @@
return -1;
}
-
+#endif
int OnDeleteFile()
{
int LVNI_ALL = 0x0000;
@@ -365,6 +366,7 @@
AttachEvent(L"WM_XCOMMAND", (FEvent)&DocSO3::OnXCommand);
//获取焦点事件,用于重置工具条
//AttachEvent(L"WM_SETFOCUS",OnSetFocus);
+ return 1;
}
/*
@@ -447,7 +449,7 @@
int onload()
{
-
+ SetArg();
lv_view = GetControl(L"lv_view");
columnCount = 0;
SetListViewHeaderColumn(L"");
--
Gitblit v1.9.3