update operator itemstring
| | |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\EnquiryEx3.list.cpp" /> |
| | | <ClCompile Include="..\project\business\Enquiry\Enquiry.maint.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Enquiry\EnquiryEx.quote.vx.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Enquiry\SKU.PictureView.Product3.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Enquiry\ViewPictures.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\Habit.PO.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\InsertPO.PO.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\maint.Document.PO.v3 .cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\Maint.PaperCard.PO.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | <ClCompile Include="..\project\business\PO\Maint.PaperCard.PO.hpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\Maint.PurcherItem.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\MakeAllPOEx.PO.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\paperImage.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | |
| | | <ClCompile Include="..\project\business\PO\business4.cpp"> |
| | | <Filter>project\business\PO</Filter> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\vindexformex.cpp"> |
| | | <Filter>vbusiness\wface</Filter> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\Maint.PurcherItem.cpp"> |
| | | <Filter>project\business\PO</Filter> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\Maint.PaperCard.PO.cpp"> |
| | | <ClCompile Include="..\project\business\PO\Maint.PaperCard.PO.hpp"> |
| | | <Filter>project\business\PO</Filter> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\Habit.PO.cpp"> |
| | |
| | | <ClCompile Include="..\project\vindexmenu.cpp"> |
| | | <Filter>vbusiness\wface</Filter> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\total3\ViewEx1.total.cpp"> |
| | | <Filter>源文件</Filter> |
| | | </ClCompile> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | else |
| | | g_xdoc_shoppingcart.Retrieve(ShoppingCartView::GetGoodsList(selectname, queryString)); |
| | | } |
| | | dwc_list.PostRetrieve(); |
| | | dwc_list.Redraw(); |
| | | |
| | | if (dwc_list.GetRowCount() >= 1) |
| | |
| | | public: |
| | | ximageview im; |
| | | xml doc; |
| | | int m_winHwnd; |
| | | int ParentHWND; |
| | | HWND m_winHwnd; |
| | | HWND ParentHWND; |
| | | public: |
| | | SKUProductPictureView3(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} |
| | | public: |
| | |
| | | { |
| | | //xnode anode = GetAgentNode(name); |
| | | xnode anode = GetAgentNode(name); |
| | | int LayerFlow_None = 0x00000001; |
| | | int LayerFlow_UnLayer = 0x00000100; |
| | | int LayerFlow_NS = 0x00000004; |
| | | int LayerFlow_WE = 0x00000008; |
| | | int LayerFlow_Control = 0x00000010; |
| | | int LayerFlow_None_ = 0x00000001; |
| | | int LayerFlow_UnLayer_ = 0x00000100; |
| | | int LayerFlow_NS_ = 0x00000004; |
| | | int LayerFlow_WE_ = 0x00000008; |
| | | int LayerFlow_Control_ = 0x00000010; |
| | | if (f) |
| | | anode.SetLayerFlow(LayerFlow_WE | LayerFlow_Control); |
| | | anode.SetLayerFlow(LayerFlow_WE_ | LayerFlow_Control_); |
| | | else |
| | | anode.SetLayerFlow(LayerFlow_None | LayerFlow_UnLayer); |
| | | anode.SetLayerFlow(LayerFlow_None_ | LayerFlow_UnLayer_); |
| | | return 1; |
| | | } |
| | | |
| | |
| | | } |
| | | else if (comdid == L"xmDelete") |
| | | { |
| | | int hh = ParentHWND; |
| | | if (hh > 0) |
| | | if (ParentHWND) |
| | | { |
| | | int nIndex = im.GetSelectIndex(); |
| | | if (nIndex < 0 || nIndex >= im.GetImageCount()) return 0; |
| | | im.RemoveImage(nIndex); |
| | | im.Redraw(); |
| | | xstring comd = L"Delete:" +xstring(nIndex); |
| | | SendMessage(hh, 0x401, comd, 0); |
| | | SendMessage(ParentHWND, 0x401, (WPARAM)comd.c_str(), 0); |
| | | } |
| | | } |
| | | return 0; |
| | |
| | | xaserverarg arg; |
| | | // |
| | | arg = GetArg(); |
| | | xstring hh = arg.GetArgString(L"ParentHWND"); |
| | | ParentHWND = hh.toInt(); |
| | | ParentHWND = (HWND)arg.GetParam(L"ParentHWND"); |
| | | xstring openflag = arg.GetArgString(L"OpenFlag"); |
| | | //alert(openflag); |
| | | if (openflag != L"0") hiddenBox(L"xmDelete", false); |
| | |
| | | im.AddImages(L"/business/products/chanpin/BL-002/417884.jpg", L"x3"); |
| | | im.Redraw(); |
| | | } |
| | | win32::SetFocus(im.GetId()); |
| | | SetFocus(im.GetHWND()); |
| | | |
| | | xstring userno = xaserver::GetUserNo(); |
| | | /*if(userno == L"1003" || userno == L"1137" || userno == L"admin") { |
| | |
| | | #pragma once |
| | | #include "xnative.hpp" |
| | | #include "xcontrol.hpp" |
| | | |
| | | namespace Hxsoft{ namespace XFrame |
| | | { |
| | | class IXAServerArg |
| | |
| | | return ((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetParam(pArgName); |
| | | } |
| | | |
| | | void* GetControl(LPCTSTR pArgName) |
| | | { |
| | | return (void*)((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetParam(pArgName); |
| | | } |
| | | HWND GetHWND(LPCTSTR pArgName) |
| | | { |
| | | return (HWND)((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetParam(pArgName); |
| | | } |
| | | |
| | | template<class T> |
| | | int SetParam(LPCTSTR pArgName, T pValue) |
| | | { |
| | |
| | | |
| | | bool SetItemDouble(int row, xstring col, double str) |
| | | { |
| | | return SetItemString(row, col.c_str(), xstring(str)); |
| | | return SetItemString(row, col, xstring(str)); |
| | | } |
| | | |
| | | int DataBI(LPCTSTR pSchema = NULL) //数据BI分析 |
| | |
| | | return getKReport()->DataAnalysis(pSchema); |
| | | } |
| | | |
| | | xstring GetItemString(int nRow, xstring ColumnName, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->GetItemString_(nRow, ColumnName.c_str(),dwBuffer); |
| | | } |
| | | |
| | | bool SetItemString(int nRow, int ColumnName, xstring lptStr, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->SetItemString_(nRow, ColumnName, lptStr.c_str(), dwBuffer); |
| | | } |
| | | |
| | | bool SetItemString(int nRow, LPCTSTR ColumnName, xstring lptStr, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->SetItemString_(nRow, ColumnName, lptStr.c_str(), dwBuffer); |
| | | } |
| | | |
| | | bool SetItemString(int nRow, xstring ColumnName,xstring lptStr, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->SetItemString_(nRow, ColumnName.c_str(), lptStr.c_str(), dwBuffer); |
| | | } |
| | | bool SetItemString(int nRow, xstring ColumnName, LPCTSTR lptStr, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->SetItemString_(nRow, ColumnName.c_str(), lptStr, dwBuffer); |
| | | } |
| | | |
| | | xstring GetItemDisplayString(int nRow, xstring ColumnName, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->GetItemDisplayString(nRow, ColumnName.c_str(), dwBuffer); |
| | | } |
| | | |
| | | bool SetItemDisplayString(int nRow, int ColumnName, xstring lptStr, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->SetItemDisplayString(nRow, ColumnName, lptStr.c_str(), dwBuffer); |
| | | } |
| | | |
| | | bool SetItemDisplayString(int nRow, LPCTSTR ColumnName, xstring lptStr, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->SetItemDisplayString(nRow, ColumnName, lptStr.c_str(), dwBuffer); |
| | | } |
| | | |
| | | bool SetItemDisplayString(int nRow, xstring ColumnName, xstring lptStr, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->SetItemDisplayString(nRow, ColumnName.c_str(), lptStr.c_str(), dwBuffer); |
| | | } |
| | | bool SetItemDisplayString(int nRow, xstring ColumnName, LPCTSTR lptStr, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->SetItemDisplayString(nRow, ColumnName.c_str(), lptStr, dwBuffer); |
| | | } |
| | | LPCTSTR GetItemTipString(int nRow, xstring ColumnName, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) |
| | | { |
| | | return getKReport()->GetItemTipString(nRow, ColumnName.c_str(), dwBuffer); |
| | | } |
| | | |
| | | public: |
| | | int openUrl(string aurl) |
| | | { |
| | |
| | | { |
| | | return GetDwTable()->SetItemTipString(nRow, ColumnName, lptStr, dwBuffer); |
| | | } |
| | | |
| | | xstring GetItemString(int nRow, xstring ColumnName, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->GetItemString_(nRow, ColumnName.c_str(), dwBuffer); |
| | | }//得到数据值 |
| | | xstring SetItemString(int nRow, xstring ColumnName, LPCTSTR value,kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemString_(nRow, ColumnName.c_str(),value, dwBuffer); |
| | | } |
| | | xstring SetItemString(int nRow, xstring ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemString_(nRow, ColumnName.c_str(), value.c_str(), dwBuffer); |
| | | } |
| | | xstring SetItemString(int nRow, LPCTSTR ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemString_(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | xstring SetItemString(int nRow, int ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemString_(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | |
| | | xstring GetItemDisplayString(int nRow, xstring ColumnName, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->GetItemDisplayString(nRow, ColumnName.c_str(), dwBuffer); |
| | | }//得到数据值 |
| | | xstring SetItemDisplayString(int nRow, xstring ColumnName, LPCTSTR value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemDisplayString(nRow, ColumnName.c_str(), value, dwBuffer); |
| | | } |
| | | xstring SetItemDisplayString(int nRow, xstring ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemDisplayString(nRow, ColumnName.c_str(), value.c_str(), dwBuffer); |
| | | } |
| | | xstring SetItemDisplayString(int nRow, LPCTSTR ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemDisplayString(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | xstring SetItemDisplayString(int nRow, int ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->SetItemDisplayString(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | |
| | | xstring ItemChangeTo(int nRow, xstring ColumnName, LPCTSTR value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->ItemChangeTo(nRow, ColumnName.c_str(), value, dwBuffer); |
| | | } |
| | | xstring ItemChangeTo(int nRow, xstring ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->ItemChangeTo(nRow, ColumnName.c_str(), value.c_str(), dwBuffer); |
| | | } |
| | | xstring ItemChangeTo(int nRow, LPCTSTR ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->ItemChangeTo(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | xstring ItemChangeTo(int nRow, int ColumnName, xstring value, kdwtable::DWBuffer dwBuffer = kdwtable::dbuf_normal) |
| | | { |
| | | return GetDwTable()->ItemChangeTo(nRow, ColumnName, value.c_str(), dwBuffer); |
| | | } |
| | | public: |
| | | int AcceptText() |
| | | { |