From 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 17 七月 2024 17:50:35 +0800 Subject: [PATCH] base code --- 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