| | |
| | | #include <xcontrol/xtreeview.hpp> |
| | | #include <xcontrol/xdwgrid.hpp> |
| | | #include <xcontrol/xlayersheet.hpp> |
| | | #include <xcontrol/xcell.hpp> |
| | | |
| | | #include "vbusiness/vframe/maint.vframe.vbusiness.hpp" |
| | | #include "viewobject/view.base.hpp" |
| | | |
| | | using xml = KXMLDOMDocument; |
| | | |
| | | class __declspec(dllexport) MaintTemplatePrintWin : public xframe |
| | | { |
| | | public: |
| | |
| | | SetAgent(); |
| | | return 1; |
| | | } |
| | | } |
| | | |
| | | int SendCtrlCmd(xcontrol xc, xstring cmd) |
| | | { |
| | | win32::SendMessage(xc.GetId(),0x401,cmd,0); |
| | | SendMessage(xc.GetHWND(), 0x401, (WPARAM)cmd.c_str(), 0); |
| | | return 1; |
| | | } |
| | | |
| | |
| | | if(comdid.left(3) == L"IK_") |
| | | { |
| | | xstring cmd = comdid.mid(3, comdid.length()); |
| | | SendCtrlCmd(GetControl(L"cell"),cmd); |
| | | |
| | | SendCtrlCmd(cell.GetHWND(), cmd); |
| | | return 1; |
| | | } |
| | | else if(comdid==L"xmFileOpen") |
| | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | }; |