LiFan
2024-11-13 feccef8c2b99af30b6937c42568f2fb7c82dbae2
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);
        }
 
};