| | |
| | | xstring APType; |
| | | xdwtable dw_base; |
| | | xnode m_agentNode; //Agent Condition |
| | | int hObject = 0; |
| | | HWND hObject = 0; |
| | | public: |
| | | MaintAP(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} |
| | | public: |
| | |
| | | dw_base.ResetUpdateStatus(); |
| | | updateAdvance(); |
| | | alert(L"保存成功!"); |
| | | SendMessage(hObject, 0x401, L"xmRefresh", 0); |
| | | |
| | | SendMessage(hObject, 0x401, (LPARAM)L"xmRefresh", 0); |
| | | CloseWindow(); |
| | | } |
| | | else |
| | |
| | | AttachEvent(L"dw_base", L"DWV_ITEMCHANGED", (FEvent)&MaintAP::OnItemChanged); |
| | | //获取焦点事件,用于重置工具条 |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&MaintAP::OnSetFocus); |
| | | return 1; |
| | | } |
| | | |
| | | int OnRetrieve() |