xj qian
2024-11-05 e7d957fdf6716f44d32ffe0631e61e0eb4f13d45
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
 
#include "wobject/xcontrol.hpp"
#include "kobject/kshtml.hpp"
 
using kshtml = Hxsoft::XFrame::IXSHtml;
class xshtml : public xcontrol
{
    public:
        xshtml():xcontrol(nullptr){}
        xshtml(void * implptr):xcontrol(implptr){}
        kshtml * getKSHtml(){return (kshtml*)this->GetNativePtr();}
    public:
        int SetContent(LPCTSTR pStr)
        {
            return getKSHtml()->SetContent(pStr);
        }
 
};