LiFan
2024-11-06 040a6084a8037fb02f01ccfe751739a3f4f196f4
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);
        }
 
};