| | |
| | | public: |
| | | |
| | | //命令发布函数 |
| | | int OnCmdDispatch(string comdid) |
| | | int OnCmdDispatch(xstring comdid) |
| | | { |
| | | if (GetWinParam()) |
| | | { |
| | |
| | | public: |
| | | |
| | | //命令发布函数 |
| | | int OnCmdDispatch(string comdid) |
| | | int OnCmdDispatch(xstring comdid) |
| | | { |
| | | if (GetWinParam()) |
| | | { |
| | |
| | | xstring comdid = arg.GetArgString(L"comdid"); |
| | | if (comdid ==L"xmOK") |
| | | { |
| | | string value = arg.GetArgString(L"content"); |
| | | xstring value = arg.GetArgString(L"content"); |
| | | return value; |
| | | } |
| | | return L""; |
| | |
| | | { |
| | | return ((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->SetArg(argname,val,typ); |
| | | } |
| | | string GetString() //alias "?GetString@IXAServerArg@XFrame@Hxsoft@@QAEPB_WXZ" from "xframe.dll"; |
| | | xstring GetString() //alias "?GetString@IXAServerArg@XFrame@Hxsoft@@QAEPB_WXZ" from "xframe.dll"; |
| | | { |
| | | return ((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetString(); |
| | | } |
| | |
| | | { |
| | | return ((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetArgInt((LPTSTR)argname); |
| | | } |
| | | string GetArgString(string argname) //alias "?GetArgString@IXAServerArg@XFrame@Hxsoft@@QAEPA_WPA_W@Z"; |
| | | xstring GetArgString(string argname) //alias "?GetArgString@IXAServerArg@XFrame@Hxsoft@@QAEPA_WPA_W@Z"; |
| | | { |
| | | return ((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetArgString((LPTSTR)argname); |
| | | } |
| | |
| | | int nLen = GetTextLength(); |
| | | |
| | | xstring xs; |
| | | GetWindowTextW(GetHWND(),xs.sure(nLen+1),nLen + 1); |
| | | wchar_t* buf = xs.sure(nLen + 1); |
| | | GetWindowTextW(GetHWND(),buf , nLen + 1); |
| | | return xs; |
| | | } |
| | | |
| | |
| | | return (kimageview*)getNativePointer(); |
| | | } |
| | | public: |
| | | int AddImages(LPCTSTR pUrl, LPCTSTR pText=NULL) |
| | | int AddImages(LPCTSTR pUrl, LPCTSTR pText=L"") |
| | | { |
| | | return GetKImageView()->AddImages(pUrl, (LPTSTR)pText); |
| | | } |