|
// WebWin32Lib.h : Declaration of the CWebWin32Lib
#pragma once
#include "resource.h" // main symbols
#include "MainFrm.h"
#include "ChildFrm.h"
#include "WebWin32Sample.h"
#include "WebWin32SampleView.h"
#include "WelcomeKitTree.h"
// CWebWin32Lib
class ATL_NO_VTABLE CWebWin32Lib :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CWebWin32Lib, &CLSID_WebWin32Lib>,
public IDispatchImpl<IWebWin32Lib, &IID_IWebWin32Lib, &LIBID_WebWin32SampleLib, /*wMajor =*/ 1, /*wMinor =*/ 0>
{
public:
CChildFrame * m_pChildFrame;
CWebWin32Lib()
{
}
DECLARE_REGISTRY_RESOURCEID(IDR_WEBWIN32LIB)
BEGIN_COM_MAP(CWebWin32Lib)
COM_INTERFACE_ENTRY(IWebWin32Lib)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
DECLARE_PROTECT_FINAL_CONSTRUCT()
HRESULT FinalConstruct()
{
return S_OK;
}
void FinalRelease()
{
}
public:
STDMETHOD(MyMessageBox)(BSTR Text, BSTR Title, LONG* Result);
STDMETHOD(HideTree)(void);
STDMETHOD(ShowTree)(void);
STDMETHOD(SetChildFrame)(LONG pMainFrame);
STDMETHOD(AddChildToTree)(BSTR childText);
STDMETHOD(put_StatusBarText)(BSTR Text );
STDMETHOD(FormSubmit)(BSTR FormName);
};
OBJECT_ENTRY_AUTO(__uuidof(WebWin32Lib), CWebWin32Lib)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.