xj qian
2024-07-16 f22bb7edb66856f3d1b6e44d6f6b170848a48dd7
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);
        }
 
};