xj qian
2024-06-25 46bf65da8237cb34a62bbe0d6d4b8ba2bb2dc7b1
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);
        }
 
};