xj qian
2024-06-26 6f5ed784c0cac43d8ec74e61a39b668af76c7d13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#pragma once
 
#include "kbase.hpp"
#include "kxml.hpp"
 
namespace Hxsoft{ namespace XFrame
{
    class IXFWin;
    class  IXFControl : public xbObject
    {
    public:
        HWND GetHWND();
    public:
        IXFWin* GetWindow();
    public:
        IXNode * GetXNode();
        KXMLDOMElement  GetElement();
    public:
        RECT & GetAreaRect();
        RECT & GetContentRect();
    public:
        int SetAreaRect(RECT & rc);
        int SetContentRect(RECT & rc);
    public:
        RECT  GetClientRect();
    public:
        int Redraw();
    public:
        int DoAcceptText();
        virtual int AcceptText(){return 0;};
    public:
        int SetStyle(DWORD dwStyle);
        int SetStyleEx(DWORD dwStyleEx);
    public:
        bool SetLayerFlow(LPCTSTR pFlow,bool bRedraw);
        bool SwitchLayer(LPTSTR pStrLayerSheet,LPTSTR pStrLayerFrame);
    public:
        xbObject * QueryItem(LPTSTR pItem);
    public:
        bool GetContentExtent(SIZE &sz);
    };
}}