|  |  | 
 |  |  | #include "kobject/kwin.hpp" | 
 |  |  | #include "win32/win.hpp" | 
 |  |  | #include "wobject/xstring.hpp" | 
 |  |  |  | 
 |  |  | using kwin=Hxsoft::XFrame::IXFWin; | 
 |  |  | using kcontrol = Hxsoft::XFrame::IXFControl; | 
 |  |  |  | 
 |  |  | 
 |  |  |       return ((kcontrol*)this->getNativePointer())->GetHWND(); | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    bool operator ==(xcontrol& rhs) | 
 |  |  |    { | 
 |  |  |       return getNativePointer() == rhs.getNativePointer(); | 
 |  |  |    } | 
 |  |  |    operator LPARAM() | 
 |  |  |    { | 
 |  |  |       return (LPARAM)getNativePointer(); | 
 |  |  |    } | 
 |  |  |    int SetReadOnlyEx(const bool ) | 
 |  |  |    { | 
 |  |  |       int EM_SETREADONLY_ = 0x00CF; | 
 |  |  | 
 |  |  |    { | 
 |  |  |       return ((kcontrol*)this->getNativePointer())->GetElement(); | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    Hxsoft::XFrame::xbObject* QueryItem(xstring pItem) | 
 |  |  |    { | 
 |  |  |       return ((kcontrol*)this->getNativePointer())->QueryItem((LPTSTR)pItem.c_str()); | 
 |  |  |    } | 
 |  |  | }; |