| | |
| | | arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText()); |
| | | |
| | | xcombobox cbx_type = GetControl(L"cbx_ship"); |
| | | int h = xcombobox::GetCurSel(cbx_type.GetHWND()); |
| | | int h = cbx_type.GetCurSel(); |
| | | if (h < 0) return 1; |
| | | xstring str = xcombobox::GetItemData(cbx_type.GetHWND()); |
| | | xstring str = (string)cbx_type.GetItemData(h); |
| | | arg.AddArg(L"ShipDays", str); |
| | | trace(str); |
| | | |
| | | if (getUrl(L"/sale/data/AP/list101", arg.GetString(), x) != 1) |
| | | { |
| | | trace(x.text()); |
| | |
| | | } |
| | | else |
| | | { |
| | | |
| | | dw_1.Retrieve(x); |
| | | dw_1.Redraw(); |
| | | } |
| | |
| | | |
| | | return 1; |
| | | |
| | | xstring id = tv_org.GetItemData(sitem); |
| | | xstring id = (string)tv_org.GetItemData(sitem); |
| | | HCURSOR hCursor = xutil::SetCursorWait(); |
| | | OnCreateTree(id, sitem); |
| | | xutil::RestoreCursor(hCursor); |
| | |
| | | for(i=0; i<s; i++) |
| | | { |
| | | xstring tmp = m_cb.GetLBText( i); |
| | | xstring tmp2 = m_cb.GetItemData(i); |
| | | xstring tmp2 = (string)m_cb.GetItemData(i); |
| | | KXMLDOMElement e = x.createElement(L"item"); |
| | | e.setAttribute(L"name", L""+tmp); |
| | | e.setAttribute(L"file", L""+tmp2); |