| | |
| | | #include <xcontrol/xtreeview.hpp> |
| | | #include <xcontrol/xdwgrid.hpp> |
| | | #include <xcontrol/xcell.hpp> |
| | | #if 0 |
| | | aaa |
| | | #endif // 0 |
| | | |
| | | |
| | | #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp" |
| | |
| | | int OnPreRetrieve() |
| | | { |
| | | HTREEITEM hItem = tv_folder.GetSelectedItem(); |
| | | if (hItem <= 0) return 1; |
| | | if (!hItem ) return 1; |
| | | |
| | | //int hCursor = xutil::SetCursorWait(); |
| | | KXMLDOMElement& e = *(KXMLDOMElement*)tv_folder.GetItemData(hItem); |
| | |
| | | if (changeddlb) |
| | | return 1; |
| | | HTREEITEM hItem = tv_folder.GetSelectedItem(); |
| | | if (hItem <= 0) |
| | | if (!hItem) |
| | | return 1; |
| | | HTREEITEM child = tv_folder.GetChildItem(hItem); |
| | | if (!child) { |
| | |
| | | int OnAdd() |
| | | { |
| | | HTREEITEM hItem = tv_folder.GetSelectedItem(); |
| | | if (hItem <= 0) |
| | | if (!hItem ) |
| | | return 1; |
| | | HCURSOR hCursor = xutil::SetCursorWait(); |
| | | KXMLDOMElement& e = *(KXMLDOMElement*)tv_folder.GetItemData(hItem); |
| | |
| | | adid = ele.selectSingleNode(L"adid").text();*/ |
| | | adid = dw_list.GetItemString(row, L"adid"); |
| | | |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | xaserverarg arg; |
| | | |
| | |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&ViewAdministrativeDepartmentList::OnXCommand); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&ViewAdministrativeDepartmentList::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | /* |
| | | //加载主体数据 |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | xaserverarg arg; |
| | | |