| | |
| | | return 1; |
| | | } |
| | | |
| | | int SetEntityData(param p) |
| | | int SetEntityData(LPARAM p) |
| | | { |
| | | xml x; |
| | | |
| | |
| | | if (comdid == L"ok") |
| | | { |
| | | xstring strxml = arg.GetArgString(L"xml"); |
| | | dw_user.SetItemDisplayString(row, colname, strxml); |
| | | dw_user.SetItemString(row, colname, strxml); |
| | | dw_user.SetItemDisplayString(row, colname.c_str(), strxml); |
| | | dw_user.SetItemString(row, colname.c_str(), strxml); |
| | | dw_user.Redraw(); |
| | | } |
| | | } |
| | |
| | | { |
| | | m_agentNode = new xnode; |
| | | |
| | | tv_usergroup = new treeview; |
| | | tv_usergroup.setNativePointer(GetControl(L"tv_usergroup")); |
| | | tv_usergroup = GetControl(L"tv_usergroup"); |
| | | dw_user = new xdwgrid; |
| | | dw_user.setNativePointer(GetControl(L"dw_user")); |
| | | dw_user.SetDataObject(GetServerUrl(), L"dev:sheet[SysUser.tpl/UserList]"); |