From 5d2965493771ebc5f3216cb0a18012713b054c6a Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 05 七月 2024 15:07:31 +0800 Subject: [PATCH] update --- jrj/project/business/SO/Product.Select.SO.cpp | 1 jrj/project/business/AR/ExchageInput3.cpp | 1 jrj/project/business/SO/Product.FetchNo.cpp | 1 jrj/project/business/Supplier/asklist.Owner.Supplier.cpp | 0 jrj/project/business/Supplier/SupplierSource.cpp | 0 jrj/project/business/HR/BlankExcelTemplate.cpp | 1 jrj/project/business/AR/ExchangeColumnTran.cpp | 1 jrj/project/business/Public/SupplierUserGroupPersonSelect.cpp | 1 jrj/project/business/Public/GroupManagerList.cpp | 12 ++++-- jrj/project/business/Public/UserGroupMaint.cpp | 1 jrj/project/business/VATNotify/simple.maint.vatnotify.cpp | 1 jrj/project/business/Public/UserGroupPersonSelectEx.cpp | 1 jrj/project/business/PO/Maint.PaperCard.PO.cpp | 0 jrj/project/business/VATNotify/VATNotifyParse.cpp | 1 jrj/project/business/AP/list.ap.cpp | 1 jrj/project/business/SO/select.item.so.cpp | 1 jrj/project/business/PO/Habit.PO.cpp | 0 jrj/project/business/Public/UserGroupPersonSelect.cpp | 1 jrj/project/business/AR/ExchangeBankTran.cpp | 1 jrj/project/business/Public/UserGroupShareEx.cpp | 1 jrj/project/business/AR/Deduction.cpp | 1 jrj/project/business/AR/CustomerTran.AR.cpp | 1 jrj/project/business/VATNotify/list.vatnotify.cpp | 1 jrj/project/business/PO/maint.Document.PO.v3 .cpp | 0 jrj/project/business/Supplier/maint.Document.SupplierSD.cpp | 0 jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp | 1 jrj/project/business/PO/InsertPO.PO.cpp | 0 jrj/project/business/AR/maint.SettlementExchange.cpp | 1 jrj/project/business/AP/APBank.cpp | 1 jrj/project/business/Supplier/maint.Document.SupplierEx.cpp | 0 jrj/project/business/PO/PO.maint.base.cpp | 0 jrj/project/business/PO/MakeAllPOEx.PO.cpp | 0 jrj/project/business/Public/UserGroupShare.cpp | 1 jrj/project/business/PO/PO.BatchPrecess.polist.cpp | 0 jrj/project/business/VATNotify/update.vatnotify.cpp | 2 jrj/project/business/AP/Select.AP.cpp | 1 jrj/project/business/Supplier/list.Owner.Supplier.cpp | 0 jrj/project/business/AR/ExchangeSignFast.cpp | 1 jrj/project/business/Public/UserGroupSelect.cpp | 1 jrj/project/business/Public/search.dialog.cpp | 1 jrj/project/business/AP/maint.ap.cpp | 1 jrj/project/business/GDN/select.item.po.cpp | 0 jrj/project/business/SO/maint.Document.SO3.v3.cpp | 1 jrj/project/business/AR/ExchageFile.cpp | 1 jrj/ext-jrj/ext-jrj.vcxproj | 36 +++++++++++++---- jrj/project/business/HR/ManpowerFile.cpp | 1 jrj/project/business/Public/message.business.cpp | 0 47 files changed, 66 insertions(+), 14 deletions(-) diff --git a/jrj/ext-jrj/ext-jrj.vcxproj b/jrj/ext-jrj/ext-jrj.vcxproj index 8937255..b641cd3 100644 --- a/jrj/ext-jrj/ext-jrj.vcxproj +++ b/jrj/ext-jrj/ext-jrj.vcxproj @@ -376,7 +376,9 @@ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> </ClCompile> - <ClCompile Include="..\project\business\Public\GroupManagerList.cpp" /> + <ClCompile Include="..\project\business\Public\GroupManagerList.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> <ClCompile Include="..\project\business\Public\memo.edit.new.cpp"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> </ClCompile> @@ -388,14 +390,30 @@ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> </ClCompile> - <ClCompile Include="..\project\business\Public\search.dialog.cpp" /> - <ClCompile Include="..\project\business\Public\SupplierUserGroupPersonSelect.cpp" /> - <ClCompile Include="..\project\business\Public\UserGroupMaint.cpp" /> - <ClCompile Include="..\project\business\Public\UserGroupPersonSelect.cpp" /> - <ClCompile Include="..\project\business\Public\UserGroupPersonSelectEx.cpp" /> - <ClCompile Include="..\project\business\Public\UserGroupSelect.cpp" /> - <ClCompile Include="..\project\business\Public\UserGroupShare.cpp" /> - <ClCompile Include="..\project\business\Public\UserGroupShareEx.cpp" /> + <ClCompile Include="..\project\business\Public\search.dialog.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> + <ClCompile Include="..\project\business\Public\SupplierUserGroupPersonSelect.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> + <ClCompile Include="..\project\business\Public\UserGroupMaint.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> + <ClCompile Include="..\project\business\Public\UserGroupPersonSelect.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> + <ClCompile Include="..\project\business\Public\UserGroupPersonSelectEx.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> + <ClCompile Include="..\project\business\Public\UserGroupSelect.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> + <ClCompile Include="..\project\business\Public\UserGroupShare.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> + <ClCompile Include="..\project\business\Public\UserGroupShareEx.cpp"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + </ClCompile> <ClCompile Include="..\project\business\quote.enquiry.cpp"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> </ClCompile> diff --git a/jrj/project/business/AP/APBank.cpp b/jrj/project/business/AP/APBank.cpp index 496b944..a390926 100644 --- a/jrj/project/business/AP/APBank.cpp +++ b/jrj/project/business/AP/APBank.cpp @@ -84,6 +84,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&APListBankMaint::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&APListBankMaint::OnSetFocus); + return 1; } /* diff --git a/jrj/project/business/AP/Select.AP.cpp b/jrj/project/business/AP/Select.AP.cpp index 5ed3e2f..25acc97 100644 --- a/jrj/project/business/AP/Select.AP.cpp +++ b/jrj/project/business/AP/Select.AP.cpp @@ -93,6 +93,7 @@ //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&APSelectDlg::OnSetFocus); AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&APSelectDlg::onOk); + return 1; } int RetrieveData() diff --git a/jrj/project/business/AP/list.ap.cpp b/jrj/project/business/AP/list.ap.cpp index 520605a..9792b26 100644 --- a/jrj/project/business/AP/list.ap.cpp +++ b/jrj/project/business/AP/list.ap.cpp @@ -289,6 +289,7 @@ AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&ListAP::OnDoubleClicked);//行双击 AttachEvent(L"cbx_state", L"CBN_SELCHANGE", (FEvent)&ListAP::OnDatePicker); AttachEvent(L"dw_list", L"DWV_ITEMCHANGED", (FEvent)&ListAP::OnItemChanged); + return 1; } int OnDatePicker(TEvent* evt, int lParam) diff --git a/jrj/project/business/AP/maint.ap.cpp b/jrj/project/business/AP/maint.ap.cpp index 3af3a4b..3c173ed 100644 --- a/jrj/project/business/AP/maint.ap.cpp +++ b/jrj/project/business/AP/maint.ap.cpp @@ -226,6 +226,7 @@ AttachEvent(L"dw_base", L"DWV_ITEMCHANGED", (FEvent)&MaintAP::OnItemChanged); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&MaintAP::OnSetFocus); + return 1; } int OnRetrieve() diff --git a/jrj/project/business/AR/CustomerTran.AR.cpp b/jrj/project/business/AR/CustomerTran.AR.cpp index 156d497..a6bd05c 100644 --- a/jrj/project/business/AR/CustomerTran.AR.cpp +++ b/jrj/project/business/AR/CustomerTran.AR.cpp @@ -123,6 +123,7 @@ //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&CustomerTranARView::OnSetFocus); AttachEvent(L"dw_list", L"DWV_ASKSTYLE", (FEvent)&CustomerTranARView::OnItemAskStyle); + return 1; } int OnSave() diff --git a/jrj/project/business/AR/Deduction.cpp b/jrj/project/business/AR/Deduction.cpp index e335ee7..fa0e386 100644 --- a/jrj/project/business/AR/Deduction.cpp +++ b/jrj/project/business/AR/Deduction.cpp @@ -150,6 +150,7 @@ AttachEvent(L"WM_SETFOCUS", (FEvent)&Deduction::OnSetFocus); AttachEvent(L"dw_list", L"DWV_ROWFOCUSCHANGED", (FEvent)&Deduction::OnRowChanged); AttachEvent(L"dw_list", L"DWV_ITEMCHANGED", (FEvent)&Deduction::OnItemChanged); + return 1; } diff --git a/jrj/project/business/AR/ExchageFile.cpp b/jrj/project/business/AR/ExchageFile.cpp index 94035df..1516d05 100644 --- a/jrj/project/business/AR/ExchageFile.cpp +++ b/jrj/project/business/AR/ExchageFile.cpp @@ -470,6 +470,7 @@ AttachEvent(L"WM_SETFOCUS", (FEvent)&ExchangeFileView::OnSetFocus); AttachEvent(L"dw_exchangefile", L"CELL_ITEMCHANGED", (FEvent)&ExchangeFileView::OnCellItemChanged); AttachEvent(L"dw_exchangefile", L"DWV_CLICKED", (FEvent)&ExchangeFileView::OnCellClicked); + return 1; } diff --git a/jrj/project/business/AR/ExchageInput3.cpp b/jrj/project/business/AR/ExchageInput3.cpp index 0fc8228..6b46415 100644 --- a/jrj/project/business/AR/ExchageInput3.cpp +++ b/jrj/project/business/AR/ExchageInput3.cpp @@ -406,6 +406,7 @@ AttachEvent(L"cbx_type", L"CBN_SELCHANGE", (FEvent)&ExchangeInputView::OnCombboChanged);//属性组切换list中列的数量变化 AttachEvent(L"dw_adjust", L"DWV_ITEMCHANGED", (FEvent)&ExchangeInputView::OnBaseItemChanged); AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&ExchangeInputView::OnDoubleClicked);//行双击 + return 1; } diff --git a/jrj/project/business/AR/ExchangeBankTran.cpp b/jrj/project/business/AR/ExchangeBankTran.cpp index d6f4239..a4256f7 100644 --- a/jrj/project/business/AR/ExchangeBankTran.cpp +++ b/jrj/project/business/AR/ExchangeBankTran.cpp @@ -91,6 +91,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&ExchangeBankTranView::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&ExchangeBankTranView::OnSetFocus); + return 1; } int OnSave() diff --git a/jrj/project/business/AR/ExchangeColumnTran.cpp b/jrj/project/business/AR/ExchangeColumnTran.cpp index 06819e5..f3a4c21 100644 --- a/jrj/project/business/AR/ExchangeColumnTran.cpp +++ b/jrj/project/business/AR/ExchangeColumnTran.cpp @@ -91,6 +91,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&ExchangeColumnTranView::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&ExchangeColumnTranView::OnSetFocus); + return 1; } int OnSave() diff --git a/jrj/project/business/AR/ExchangeSignFast.cpp b/jrj/project/business/AR/ExchangeSignFast.cpp index 9e874dc..b285ad1 100644 --- a/jrj/project/business/AR/ExchangeSignFast.cpp +++ b/jrj/project/business/AR/ExchangeSignFast.cpp @@ -311,6 +311,7 @@ AttachEvent(L"dw_unexch", L"DWV_DOUBLECLICKED", (FEvent)&ExchangeSignFastWin::OnDoubleClicked);//行双击 AttachEvent(L"cbx_customer", L"CBN_SELCHANGE", (FEvent)&ExchangeSignFastWin::OnCombboChanged);//属性组切换list中列的数量变化 AttachEvent(L"dw_unexch", L"DWV_ITEMCHANGED", (FEvent)&ExchangeSignFastWin::OnItemChanged); + return 1; } diff --git a/jrj/project/business/AR/maint.SettlementExchange.cpp b/jrj/project/business/AR/maint.SettlementExchange.cpp index 6997c58..9182934 100644 --- a/jrj/project/business/AR/maint.SettlementExchange.cpp +++ b/jrj/project/business/AR/maint.SettlementExchange.cpp @@ -176,6 +176,7 @@ //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&SettlementExchangeEdit::OnSetFocus); AttachEvent(L"dw_base", L"DWV_ITEMCHANGED", (FEvent)&SettlementExchangeEdit::OnItemChanged); + return 1; } diff --git a/jrj/project/business/GDN/select.item.po.cpp b/jrj/project/business/GDN/select.item.po.cpp index edfa38b..2c76b35 100644 --- a/jrj/project/business/GDN/select.item.po.cpp +++ b/jrj/project/business/GDN/select.item.po.cpp Binary files differ diff --git a/jrj/project/business/HR/BlankExcelTemplate.cpp b/jrj/project/business/HR/BlankExcelTemplate.cpp index be29cc3..c73e4ef 100644 --- a/jrj/project/business/HR/BlankExcelTemplate.cpp +++ b/jrj/project/business/HR/BlankExcelTemplate.cpp @@ -101,6 +101,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&BlankExcelTemplateView::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&BlankExcelTemplateView::OnSetFocus); + return 1; } /*//加载数据 diff --git a/jrj/project/business/HR/ManpowerFile.cpp b/jrj/project/business/HR/ManpowerFile.cpp index a661607..66c6c8d 100644 --- a/jrj/project/business/HR/ManpowerFile.cpp +++ b/jrj/project/business/HR/ManpowerFile.cpp @@ -274,6 +274,7 @@ AttachEvent(L"WM_SETFOCUS", (FEvent)&ViewManpowerFileList::OnSetFocus); AttachEvent(L"dw_list", L"DWV_DOUBLECLICKED", (FEvent)&ViewManpowerFileList::OnDoubleClicked);//行双击 AttachEvent(L"tv_folder", L"TVN_SELCHANGED", (FEvent)&ViewManpowerFileList::OnTreeSelChanged); //树选择 + return 1; } //数据传输函数 diff --git a/jrj/project/business/PO/Habit.PO.cpp b/jrj/project/business/PO/Habit.PO.cpp index 1f1501b..4147d20 100644 --- a/jrj/project/business/PO/Habit.PO.cpp +++ b/jrj/project/business/PO/Habit.PO.cpp Binary files differ diff --git a/jrj/project/business/PO/InsertPO.PO.cpp b/jrj/project/business/PO/InsertPO.PO.cpp index b9eb4a3..b6fb4b4 100644 --- a/jrj/project/business/PO/InsertPO.PO.cpp +++ b/jrj/project/business/PO/InsertPO.PO.cpp Binary files differ diff --git a/jrj/project/business/PO/Maint.PaperCard.PO.cpp b/jrj/project/business/PO/Maint.PaperCard.PO.cpp index e9ce7a3..2f5741d 100644 --- a/jrj/project/business/PO/Maint.PaperCard.PO.cpp +++ b/jrj/project/business/PO/Maint.PaperCard.PO.cpp Binary files differ diff --git a/jrj/project/business/PO/MakeAllPOEx.PO.cpp b/jrj/project/business/PO/MakeAllPOEx.PO.cpp index c1f1574..c587cf7 100644 --- a/jrj/project/business/PO/MakeAllPOEx.PO.cpp +++ b/jrj/project/business/PO/MakeAllPOEx.PO.cpp Binary files differ diff --git a/jrj/project/business/PO/PO.BatchPrecess.polist.cpp b/jrj/project/business/PO/PO.BatchPrecess.polist.cpp index c90c0a4..ad5a866 100644 --- a/jrj/project/business/PO/PO.BatchPrecess.polist.cpp +++ b/jrj/project/business/PO/PO.BatchPrecess.polist.cpp Binary files differ diff --git a/jrj/project/business/PO/PO.maint.base.cpp b/jrj/project/business/PO/PO.maint.base.cpp index c5f104c..debf01b 100644 --- a/jrj/project/business/PO/PO.maint.base.cpp +++ b/jrj/project/business/PO/PO.maint.base.cpp Binary files differ diff --git a/jrj/project/business/PO/maint.Document.PO.v3 .cpp b/jrj/project/business/PO/maint.Document.PO.v3 .cpp index 2482a72..b075f07 100644 --- a/jrj/project/business/PO/maint.Document.PO.v3 .cpp +++ b/jrj/project/business/PO/maint.Document.PO.v3 .cpp Binary files differ diff --git a/jrj/project/business/Public/GroupManagerList.cpp b/jrj/project/business/Public/GroupManagerList.cpp index bb5c66c..e291aa6 100644 --- a/jrj/project/business/Public/GroupManagerList.cpp +++ b/jrj/project/business/Public/GroupManagerList.cpp @@ -1,6 +1,8 @@ #include <wobject/xstring.hpp> #include <xcontrol/xtreeview.hpp> #include <xcontrol/xdwgrid.hpp> +#include <xcontrol/xcell.hpp> + #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp" #include "viewobject/view.base.hpp" @@ -58,9 +60,10 @@ if (s > 0) for (i = 0; i < s; i++) { - KXMLDOMElement e = nlist.item(i); + + KXMLDOMElement& e = *new KXMLDOMElement(nlist.item(i)); xstring name = e.selectSingleNode(L"@name").text(); - HTREEITEM hw = xtreeview::InsertChildItem(wid, h, name,e , 15); + HTREEITEM hw = xtreeview::InsertChildItem(wid, h, name,(LPARAM)&e , 15); createSubTree(wid, hw, e); } return 1; @@ -90,9 +93,9 @@ int i; for (i = 0; i < len; i++) { - KXMLDOMElement e = nlist.item(i); + KXMLDOMElement& e = *new KXMLDOMElement(nlist.item(i)); xstring name = e.selectSingleNode(L"@name").text(); - int h = xtreeview::InsertChildItem(wid, 0, name, trust(e as int), 15); + HTREEITEM h = xtreeview::InsertChildItem(wid, 0, name, name, (LPARAM)&e, 15); createSubTree(wid, h, e); xtreeview::ExpandItem(wid, h); } @@ -200,6 +203,7 @@ //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&GroupManagerList::OnSetFocus); AttachEvent(L"tv_folder", L"TVN_SELCHANGED", (FEvent)&GroupManagerList::OnTreeSelChanged); //树选择 + return 1; } diff --git a/jrj/project/business/Public/SupplierUserGroupPersonSelect.cpp b/jrj/project/business/Public/SupplierUserGroupPersonSelect.cpp index b9acdbe..b7d0a22 100644 --- a/jrj/project/business/Public/SupplierUserGroupPersonSelect.cpp +++ b/jrj/project/business/Public/SupplierUserGroupPersonSelect.cpp @@ -126,6 +126,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&SupplierUserGroupPersonSelect::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&SupplierUserGroupPersonSelect::OnSetFocus); + return 1; } int OnInitial() diff --git a/jrj/project/business/Public/UserGroupMaint.cpp b/jrj/project/business/Public/UserGroupMaint.cpp index e8ffb38..9763a28 100644 --- a/jrj/project/business/Public/UserGroupMaint.cpp +++ b/jrj/project/business/Public/UserGroupMaint.cpp @@ -109,6 +109,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupMaintWin::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupMaintWin::OnSetFocus); + return 1; } /* diff --git a/jrj/project/business/Public/UserGroupPersonSelect.cpp b/jrj/project/business/Public/UserGroupPersonSelect.cpp index 88f074f..739febc 100644 --- a/jrj/project/business/Public/UserGroupPersonSelect.cpp +++ b/jrj/project/business/Public/UserGroupPersonSelect.cpp @@ -126,6 +126,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupPersonSelectWin::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupPersonSelectWin::OnSetFocus); + return 1; } int OnInitial() diff --git a/jrj/project/business/Public/UserGroupPersonSelectEx.cpp b/jrj/project/business/Public/UserGroupPersonSelectEx.cpp index b545153..679dda9 100644 --- a/jrj/project/business/Public/UserGroupPersonSelectEx.cpp +++ b/jrj/project/business/Public/UserGroupPersonSelectEx.cpp @@ -126,6 +126,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupPersonSelectWinEx::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupPersonSelectWinEx::OnSetFocus); + return 1; } int OnInitial() diff --git a/jrj/project/business/Public/UserGroupSelect.cpp b/jrj/project/business/Public/UserGroupSelect.cpp index e66373c..6bb35a4 100644 --- a/jrj/project/business/Public/UserGroupSelect.cpp +++ b/jrj/project/business/Public/UserGroupSelect.cpp @@ -123,6 +123,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupSelectWin::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupSelectWin::OnSetFocus); + return 1; } int OnInitial() diff --git a/jrj/project/business/Public/UserGroupShare.cpp b/jrj/project/business/Public/UserGroupShare.cpp index 51f37e5..1d5e79f 100644 --- a/jrj/project/business/Public/UserGroupShare.cpp +++ b/jrj/project/business/Public/UserGroupShare.cpp @@ -152,6 +152,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupShareWin::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupShareWin::OnSetFocus); + return 1; } int Send(xstring PersonID, xstring CName, xstring NO, xstring EntityID) diff --git a/jrj/project/business/Public/UserGroupShareEx.cpp b/jrj/project/business/Public/UserGroupShareEx.cpp index b5c2461..c4d62bf 100644 --- a/jrj/project/business/Public/UserGroupShareEx.cpp +++ b/jrj/project/business/Public/UserGroupShareEx.cpp @@ -129,6 +129,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&UserGroupShareExWin::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&UserGroupShareExWin::OnSetFocus); + return 1; } int onload() diff --git a/jrj/project/business/Public/message.business.cpp b/jrj/project/business/Public/message.business.cpp index 68a29cb..cf22837 100644 --- a/jrj/project/business/Public/message.business.cpp +++ b/jrj/project/business/Public/message.business.cpp Binary files differ diff --git a/jrj/project/business/Public/search.dialog.cpp b/jrj/project/business/Public/search.dialog.cpp index 056c4ad..209908a 100644 --- a/jrj/project/business/Public/search.dialog.cpp +++ b/jrj/project/business/Public/search.dialog.cpp @@ -84,6 +84,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&SearchDlg::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&SearchDlg::OnSetFocus); + return 1; } int onload() diff --git a/jrj/project/business/SO/Product.FetchNo.cpp b/jrj/project/business/SO/Product.FetchNo.cpp index 410b806..0c0808f 100644 --- a/jrj/project/business/SO/Product.FetchNo.cpp +++ b/jrj/project/business/SO/Product.FetchNo.cpp @@ -275,6 +275,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&ProductFetchNoWin::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&ProductFetchNoWin::OnSetFocus); + return 1; } /* diff --git a/jrj/project/business/SO/Product.Select.SO.cpp b/jrj/project/business/SO/Product.Select.SO.cpp index f59552d..e8f517c 100644 --- a/jrj/project/business/SO/Product.Select.SO.cpp +++ b/jrj/project/business/SO/Product.Select.SO.cpp @@ -1265,6 +1265,7 @@ AttachEvent(L"dwc_list", L"DWV_CLICKED", (FEvent)&ProductSelectSOWin::OnDwcClicked); AttachEvent(L"dwc_list", L"DWV_DOUBLECLICKED", (FEvent)&ProductSelectSOWin::OnImport); + return 1; } int onload() diff --git a/jrj/project/business/SO/maint.Document.SO3.v3.cpp b/jrj/project/business/SO/maint.Document.SO3.v3.cpp index 4ca8b6f..9c07b10 100644 --- a/jrj/project/business/SO/maint.Document.SO3.v3.cpp +++ b/jrj/project/business/SO/maint.Document.SO3.v3.cpp @@ -364,6 +364,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&DocSO3::OnXCommand); //获取焦点事件,用于重置工具条 //AttachEvent(L"WM_SETFOCUS",OnSetFocus); + return 1; } /* diff --git a/jrj/project/business/SO/select.item.so.cpp b/jrj/project/business/SO/select.item.so.cpp index feabc76..0111841 100644 --- a/jrj/project/business/SO/select.item.so.cpp +++ b/jrj/project/business/SO/select.item.so.cpp @@ -110,6 +110,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&SelectItemSOWin::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&SelectItemSOWin::OnSetFocus); + return 1; } int onload() diff --git a/jrj/project/business/Supplier/SupplierSource.cpp b/jrj/project/business/Supplier/SupplierSource.cpp index 2c3048d..f52681b 100644 --- a/jrj/project/business/Supplier/SupplierSource.cpp +++ b/jrj/project/business/Supplier/SupplierSource.cpp Binary files differ diff --git a/jrj/project/business/Supplier/asklist.Owner.Supplier.cpp b/jrj/project/business/Supplier/asklist.Owner.Supplier.cpp index 3de43a9..e470e15 100644 --- a/jrj/project/business/Supplier/asklist.Owner.Supplier.cpp +++ b/jrj/project/business/Supplier/asklist.Owner.Supplier.cpp Binary files differ diff --git a/jrj/project/business/Supplier/list.Owner.Supplier.cpp b/jrj/project/business/Supplier/list.Owner.Supplier.cpp index 3c51265..fa5e102 100644 --- a/jrj/project/business/Supplier/list.Owner.Supplier.cpp +++ b/jrj/project/business/Supplier/list.Owner.Supplier.cpp Binary files differ diff --git a/jrj/project/business/Supplier/maint.Document.SupplierEx.cpp b/jrj/project/business/Supplier/maint.Document.SupplierEx.cpp index a16617c..f191087 100644 --- a/jrj/project/business/Supplier/maint.Document.SupplierEx.cpp +++ b/jrj/project/business/Supplier/maint.Document.SupplierEx.cpp Binary files differ diff --git a/jrj/project/business/Supplier/maint.Document.SupplierSD.cpp b/jrj/project/business/Supplier/maint.Document.SupplierSD.cpp index a8c5af2..bb8f9cc 100644 --- a/jrj/project/business/Supplier/maint.Document.SupplierSD.cpp +++ b/jrj/project/business/Supplier/maint.Document.SupplierSD.cpp Binary files differ diff --git a/jrj/project/business/VATNotify/VATNotifyParse.cpp b/jrj/project/business/VATNotify/VATNotifyParse.cpp index 466f9f4..bad9723 100644 --- a/jrj/project/business/VATNotify/VATNotifyParse.cpp +++ b/jrj/project/business/VATNotify/VATNotifyParse.cpp @@ -85,6 +85,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&VATNotifyParse::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&VATNotifyParse::OnSetFocus); + return 1; } /* diff --git a/jrj/project/business/VATNotify/list.vatnotify.cpp b/jrj/project/business/VATNotify/list.vatnotify.cpp index 418ef5b..4ea5cfd 100644 --- a/jrj/project/business/VATNotify/list.vatnotify.cpp +++ b/jrj/project/business/VATNotify/list.vatnotify.cpp @@ -278,6 +278,7 @@ AttachEvent(L"WM_SETFOCUS", (FEvent)&listvatnotifyWin::OnSetFocus); AttachEvent(L"dw_list", L"DWV_CLICKED", (FEvent)&listvatnotifyWin::OnDWClick); AttachEvent(L"cbx_state", L"CBN_SELCHANGE", (FEvent)&listvatnotifyWin::OnDatePicker); + return 1; } int OnDatePicker(TEvent* evt, int lParam) diff --git a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp index a308683..d4836ac 100644 --- a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp +++ b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp @@ -599,6 +599,7 @@ AttachEvent(L"dw_fob", L"DWV_ITEMCHANGED", (FEvent)&maintpapercardvatnotifyWin::OnFobItemChanged); AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&maintpapercardvatnotifyWin::OnRowChanged); AttachEvent(L"dw_item", L"DWV_ASKDATA", (FEvent)&maintpapercardvatnotifyWin::OnAskDataItem); + return 1; } int RetrieveFob(xstring InvoiceNo, bool start = false) diff --git a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp index 21fb64f..c137345 100644 --- a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp +++ b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp @@ -685,6 +685,7 @@ AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&simplemaintvatnotifyWin::OnRowChanged); AttachEvent(L"dw_item", L"DWV_ASKDATA", (FEvent)&simplemaintvatnotifyWin::OnAskDataItem); AttachCloseWindow(); + return 1; } int RetrieveFob(xstring InvoiceNo, bool start = false) diff --git a/jrj/project/business/VATNotify/update.vatnotify.cpp b/jrj/project/business/VATNotify/update.vatnotify.cpp index c7d5e60..9ed58ae 100644 --- a/jrj/project/business/VATNotify/update.vatnotify.cpp +++ b/jrj/project/business/VATNotify/update.vatnotify.cpp @@ -246,7 +246,7 @@ //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&UpdateVatNotifyWin::OnSetFocus); AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&UpdateVatNotifyWin::OnRowChanged); - + return 1; } int RetrieveCustomSource(xstring classifyID, xstring supplierID) -- Gitblit v1.9.3