| | |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\maint.Document.PO.v3 .cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\PO\Maint.PaperCard.PO.cpp"> |
| | |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> |
| | | </ClCompile> |
| | | <ClCompile Include="..\project\business\SO\maint.Document.SO3.v3.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\SO\paymentterm.base.maint.so.cpp"> |
| | | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> |
| | |
| | | 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) |
| | | { |
| | |
| | | } |
| | | return 0; |
| | | } |
| | | #if 0 |
| | | int OnDocumentOpen() |
| | | { |
| | | int LVNI_ALL = 0x0000; |
| | |
| | | |
| | | return -1; |
| | | } |
| | | |
| | | #endif |
| | | int OnDeleteFile() |
| | | { |
| | | int LVNI_ALL = 0x0000; |
| | |
| | | return SetImageList(GetHWND(), iImageList, himl); |
| | | } |
| | | |
| | | int InsertColumn(int nCol, string label, int nFormat, int nWidth, int nSubItem)//增加列,加入列头 |
| | | int InsertColumn(int nCol, string label, int nFormat, int nWidth, int nSubItem=0)//增加列,加入列头 |
| | | { |
| | | return InsertColumn(GetHWND(), nCol, label, nFormat, nWidth, nSubItem); |
| | | } |
| | |
| | | return InsertItem(GetHWND(),xIndex, label, pictureindex); |
| | | } |
| | | |
| | | int InsertItemEx(int xIndex, string label, int pictureindex = 0,LPARAM data)//only the label and picture index need to be specified |
| | | int InsertItemEx(int xIndex, string label, int pictureindex = 0,LPARAM data=0)//only the label and picture index need to be specified |
| | | { |
| | | return InsertItemEx(GetHWND(), xIndex, label, pictureindex , data); |
| | | } |