| | |
| | | #pragma once |
| | | #include "xnative.hpp" |
| | | #include "xcontrol.hpp" |
| | | |
| | | namespace Hxsoft{ namespace XFrame |
| | | { |
| | | class IXAServerArg |
| | |
| | | return ((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetParam(pArgName); |
| | | } |
| | | |
| | | void* GetControl(LPCTSTR pArgName) |
| | | { |
| | | return (void*)((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetParam(pArgName); |
| | | } |
| | | HWND GetHWND(LPCTSTR pArgName) |
| | | { |
| | | return (HWND)((Hxsoft::XFrame::IXAServerArg*)getNativePointer())->GetParam(pArgName); |
| | | } |
| | | |
| | | template<class T> |
| | | int SetParam(LPCTSTR pArgName, T pValue) |
| | | { |