| | |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Quote\TOSelectDlg.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Quote\trade.document.saveas.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Quote\trade.document.selectdlg.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\Quote\xmQuoteBillList.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | |
| | | lvItem.iSubItem = 0; |
| | | lvItem.mask = LVIF_PARAM ; |
| | | |
| | | lv_view.GetItem(lv_item.GetId(), lvItem); |
| | | KXMLDOMElement ele = trust(lvItem.lParam as KXMLDOMElement); |
| | | lv_view.GetItem( lvItem); |
| | | |
| | | KXMLDOMElement ele = lvItem.lParam; |
| | | return ele; |
| | | } |
| | | |
| | |
| | | int LVNI_CUT = 0x0004; |
| | | int LVNI_DROPHILITED = 0x0008; |
| | | |
| | | int nItem =lv_view.GetNextItem(lv_view1.GetId(), -1, LVNI_FOCUSED); |
| | | int nItem =lv_view.GetNextItem(-1, LVNI_FOCUSED); |
| | | if(nItem < 0) return 1; |
| | | |
| | | if(GetWinParam()) |
| | |
| | | int SetListViewHeaderColumn(xstring Url,xlistview lv_item) |
| | | { |
| | | const int LVCFMT_LEFT = 0; |
| | | for(int i=0;i<3;i++) lv_item.DeleteColumn(lv_item.GetId(),1); |
| | | for(int i=0;i<3;i++) lv_item.DeleteColumn(1); |
| | | //if(Url==L"") |
| | | //{ |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"创建日期",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"创建人员",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"名称",0,120,0); |
| | | lv_item.InsertColumn(0,L"创建日期",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(0,L"创建人员",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(0,L"名称",0,120,0); |
| | | columnCount = 3; |
| | | //} |
| | | return 1; |
| | |
| | | int SetListViewHeaderColumnItem(xstring Url,xlistview lv_item) |
| | | { |
| | | const int LVCFMT_LEFT = 0; |
| | | for(int i=0;i<6;i++) lv_item.DeleteColumn(lv_item.GetId(),1); |
| | | for(int i=0;i<6;i++) lv_item.DeleteColumn(1); |
| | | //if(Url==L"") |
| | | //{ |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"最后修改日期",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"创建日期",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"创建人员",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"״̬",0,70,0); |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"主题",0,120,0); |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"编号",0,70,0); |
| | | lv_item.InsertColumn(lv_item.GetId(),0,L"事务",0,60,0); |
| | | lv_item.InsertColumn(0,L"最后修改日期",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(0,L"创建日期",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(0,L"创建人员",LVCFMT_LEFT,80,0); |
| | | lv_item.InsertColumn(0,L"״̬",0,70,0); |
| | | lv_item.InsertColumn(0,L"主题",0,120,0); |
| | | lv_item.InsertColumn(0,L"编号",0,70,0); |
| | | lv_item.InsertColumn(0,L"事务",0,60,0); |
| | | columnCount = 6; |
| | | //} |
| | | return 1; |
| | |
| | | lvItem.mask = LVIF_PARAM ; |
| | | |
| | | lv_view.GetItem( lvItem); |
| | | KXMLDOMElement ele = trust(lvItem.lParam as KXMLDOMElement); |
| | | |
| | | KXMLDOMElement ele = lvItem.lParam; |
| | | xstring src = ele.getAttribute(L"url"); |
| | | xstring name=ele.getAttribute(L"caption"); |
| | | xstring file =L""; |
| | |
| | | return -1; |
| | | } |
| | | //openRet = ShellExecute(0,L"open",L"C:/Temp/"+name,L"",L"",5); |
| | | openRet = ShellExecute(0,L"open",L"C:/Temp/"+sfile+ext,L"",L"",5); |
| | | openRet = ShellExecuteW(0,L"open",L"C:/Temp/"+sfile+ext,L"",L"",5); |
| | | if(openRet < 32) |
| | | { |
| | | alert(L"文件打开失败2!"); |