📄 shdocvw_tlb_4.h
字号:
// [208] The horizontal dimension (pixels) of the frame window/object.
virtual HRESULT STDMETHODCALLTYPE get_Width(long* pl/*[out,retval]*/) = 0;
// [208] The horizontal dimension (pixels) of the frame window/object.
virtual HRESULT STDMETHODCALLTYPE set_Width(long pl/*[in]*/) = 0;
// [209] The vertical dimension (pixels) of the frame window/object.
virtual HRESULT STDMETHODCALLTYPE get_Height(long* pl/*[out,retval]*/) = 0;
// [209] The vertical dimension (pixels) of the frame window/object.
virtual HRESULT STDMETHODCALLTYPE set_Height(long pl/*[in]*/) = 0;
// [210] Gets the short (UI-friendly) name of the URL/file currently viewed.
virtual HRESULT STDMETHODCALLTYPE get_LocationName(BSTR* LocationName/*[out,retval]*/) = 0;
// [211] Gets the full URL/path currently viewed.
virtual HRESULT STDMETHODCALLTYPE get_LocationURL(BSTR* LocationURL/*[out,retval]*/) = 0;
// [212] Query to see if something is still in progress.
virtual HRESULT STDMETHODCALLTYPE get_Busy(TOLEBOOL* pBool/*[out,retval]*/) = 0;
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
LPDISPATCH __fastcall get_Application_(void)
{
LPDISPATCH ppDisp= 0;
OLECHECK(this->get_Application_(&ppDisp));
return ppDisp;
}
LPDISPATCH __fastcall get_Parent(void)
{
LPDISPATCH ppDisp= 0;
OLECHECK(this->get_Parent(&ppDisp));
return ppDisp;
}
LPDISPATCH __fastcall get_Container(void)
{
LPDISPATCH ppDisp= 0;
OLECHECK(this->get_Container(&ppDisp));
return ppDisp;
}
LPDISPATCH __fastcall get_Document(void)
{
LPDISPATCH ppDisp= 0;
OLECHECK(this->get_Document(&ppDisp));
return ppDisp;
}
TOLEBOOL __fastcall get_TopLevelContainer(void)
{
TOLEBOOL pBool;
OLECHECK(this->get_TopLevelContainer(&pBool));
return pBool;
}
BSTR __fastcall get_Type(void)
{
BSTR Type= 0;
OLECHECK(this->get_Type(&Type));
return Type;
}
long __fastcall get_Left(void)
{
long pl;
OLECHECK(this->get_Left(&pl));
return pl;
}
long __fastcall get_Top(void)
{
long pl;
OLECHECK(this->get_Top(&pl));
return pl;
}
long __fastcall get_Width(void)
{
long pl;
OLECHECK(this->get_Width(&pl));
return pl;
}
long __fastcall get_Height(void)
{
long pl;
OLECHECK(this->get_Height(&pl));
return pl;
}
BSTR __fastcall get_LocationName(void)
{
BSTR LocationName= 0;
OLECHECK(this->get_LocationName(&LocationName));
return LocationName;
}
BSTR __fastcall get_LocationURL(void)
{
BSTR LocationURL= 0;
OLECHECK(this->get_LocationURL(&LocationURL));
return LocationURL;
}
TOLEBOOL __fastcall get_Busy(void)
{
TOLEBOOL pBool;
OLECHECK(this->get_Busy(&pBool));
return pBool;
}
__property LPDISPATCH Application_ = {read = get_Application_};
__property LPDISPATCH Parent = {read = get_Parent};
__property LPDISPATCH Container = {read = get_Container};
__property LPDISPATCH Document = {read = get_Document};
__property TOLEBOOL TopLevelContainer = {read = get_TopLevelContainer};
__property BSTR Type = {read = get_Type};
__property long Left = {read = get_Left, write = set_Left};
__property long Top = {read = get_Top, write = set_Top};
__property long Width = {read = get_Width, write = set_Width};
__property long Height = {read = get_Height, write = set_Height};
__property BSTR LocationName = {read = get_LocationName};
__property BSTR LocationURL = {read = get_LocationURL};
__property TOLEBOOL Busy = {read = get_Busy};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: DWebBrowserEvents
// Flags: (4112) Hidden Dispatchable
// GUID: {EAB22AC2-30C1-11CF-A7EB-0000C05BAE0B}
// *********************************************************************//
interface DWebBrowserEvents : public IDispatch
{
// DispInterfaces have no methods. Their methods and properties are
// accessed via IDispatch::Invoke. See the class DWebBrowserEventsDisp provided
// below for an easy way to access the methods/properties of this
// interface.
};
// *********************************************************************//
// Interface: IWebBrowserApp
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {0002DF05-0000-0000-C000-000000000046}
// *********************************************************************//
interface IWebBrowserApp : public IWebBrowser
{
public:
// [300] Exits application and closes the open document.
virtual HRESULT STDMETHODCALLTYPE Quit(void) = 0;
// [301] Converts client sizes into window sizes.
virtual HRESULT STDMETHODCALLTYPE ClientToWindow(int* pcx/*[in,out]*/, int* pcy/*[in,out]*/) = 0;
// [302] Associates vtValue with the name szProperty in the context of the object.
virtual HRESULT STDMETHODCALLTYPE PutProperty(BSTR Property/*[in]*/, TVariant vtValue/*[in]*/) = 0;
// [303] Retrieve the Associated value for the property vtValue in the context of the object.
virtual HRESULT STDMETHODCALLTYPE GetProperty(BSTR Property/*[in]*/,
TVariant* pvtValue/*[out,retval]*/) = 0;
// [0] Returns name of the application.
virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* Name/*[out,retval]*/) = 0;
// [-515] Returns the HWND of the current IE window.
virtual HRESULT STDMETHODCALLTYPE get_HWND(long* pHWND/*[out,retval]*/) = 0;
// [400] Returns file specification of the application, including path.
virtual HRESULT STDMETHODCALLTYPE get_FullName(BSTR* FullName/*[out,retval]*/) = 0;
// [401] Returns the path to the application.
virtual HRESULT STDMETHODCALLTYPE get_Path(BSTR* Path/*[out,retval]*/) = 0;
// [402] Determines whether the application is visible or hidden.
virtual HRESULT STDMETHODCALLTYPE get_Visible(TOLEBOOL* pBool/*[out,retval]*/) = 0;
// [402] Determines whether the application is visible or hidden.
virtual HRESULT STDMETHODCALLTYPE set_Visible(TOLEBOOL pBool/*[in]*/) = 0;
// [403] Turn on or off the statusbar.
virtual HRESULT STDMETHODCALLTYPE get_StatusBar(TOLEBOOL* pBool/*[out,retval]*/) = 0;
// [403] Turn on or off the statusbar.
virtual HRESULT STDMETHODCALLTYPE set_StatusBar(TOLEBOOL pBool/*[in]*/) = 0;
// [404] Text of Status window.
virtual HRESULT STDMETHODCALLTYPE get_StatusText(BSTR* StatusText/*[out,retval]*/) = 0;
// [404] Text of Status window.
virtual HRESULT STDMETHODCALLTYPE set_StatusText(BSTR StatusText/*[in]*/) = 0;
// [405] Controls which toolbar is shown.
virtual HRESULT STDMETHODCALLTYPE get_ToolBar(int* Value/*[out,retval]*/) = 0;
// [405] Controls which toolbar is shown.
virtual HRESULT STDMETHODCALLTYPE set_ToolBar(int Value/*[in]*/) = 0;
// [406] Controls whether menubar is shown.
virtual HRESULT STDMETHODCALLTYPE get_MenuBar(TOLEBOOL* Value/*[out,retval]*/) = 0;
// [406] Controls whether menubar is shown.
virtual HRESULT STDMETHODCALLTYPE set_MenuBar(TOLEBOOL Value/*[in]*/) = 0;
// [407] Maximizes window and turns off statusbar, toolbar, menubar, and titlebar.
virtual HRESULT STDMETHODCALLTYPE get_FullScreen(TOLEBOOL* pbFullScreen/*[out,retval]*/) = 0;
// [407] Maximizes window and turns off statusbar, toolbar, menubar, and titlebar.
virtual HRESULT STDMETHODCALLTYPE set_FullScreen(TOLEBOOL pbFullScreen/*[in]*/) = 0;
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
TVariant __fastcall GetProperty(BSTR Property/*[in]*/)
{
TVariant pvtValue;
OLECHECK(this->GetProperty(Property, &pvtValue));
return pvtValue;
}
BSTR __fastcall get_Name(void)
{
BSTR Name= 0;
OLECHECK(this->get_Name(&Name));
return Name;
}
long __fastcall get_HWND(void)
{
long pHWND;
OLECHECK(this->get_HWND(&pHWND));
return pHWND;
}
BSTR __fastcall get_FullName(void)
{
BSTR FullName= 0;
OLECHECK(this->get_FullName(&FullName));
return FullName;
}
BSTR __fastcall get_Path(void)
{
BSTR Path= 0;
OLECHECK(this->get_Path(&Path));
return Path;
}
TOLEBOOL __fastcall get_Visible(void)
{
TOLEBOOL pBool;
OLECHECK(this->get_Visible(&pBool));
return pBool;
}
TOLEBOOL __fastcall get_StatusBar(void)
{
TOLEBOOL pBool;
OLECHECK(this->get_StatusBar(&pBool));
return pBool;
}
BSTR __fastcall get_StatusText(void)
{
BSTR StatusText= 0;
OLECHECK(this->get_StatusText(&StatusText));
return StatusText;
}
int __fastcall get_ToolBar(void)
{
int Value;
OLECHECK(this->get_ToolBar(&Value));
return Value;
}
TOLEBOOL __fastcall get_MenuBar(void)
{
TOLEBOOL Value;
OLECHECK(this->get_MenuBar(&Value));
return Value;
}
TOLEBOOL __fastcall get_FullScreen(void)
{
TOLEBOOL pbFullScreen;
OLECHECK(this->get_FullScreen(&pbFullScreen));
return pbFullScreen;
}
__property BSTR Name = {read = get_Name};
__property long HWND = {read = get_HWND};
__property BSTR FullName = {read = get_FullName};
__property BSTR Path = {read = get_Path};
__property TOLEBOOL Visible = {read = get_Visible, write = set_Visible};
__property TOLEBOOL StatusBar = {read = get_StatusBar, write = set_StatusBar};
__property BSTR StatusText = {read = get_StatusText, write = set_StatusText};
__property int ToolBar = {read = get_ToolBar, write = set_ToolBar};
__property TOLEBOOL MenuBar = {read = get_MenuBar, write = set_MenuBar};
__property TOLEBOOL FullScreen = {read = get_FullScreen, write = set_FullScreen};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: IWebBrowser2
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}
// *********************************************************************//
interface IWebBrowser2 : public IWebBrowserApp
{
public:
// [500] Navigates to a URL or file or pidl.
virtual HRESULT STDMETHODCALLTYPE Navigate2(TVariant* URL/*[in]*/,
TVariant* Flags/*[in,opt]*/= TNoParam(),
TVariant* TargetFrameName/*[in,opt]*/= TNoParam(),
TVariant* PostData/*[in,opt]*/= TNoParam(),
TVariant* Headers/*[in,opt]*/= TNoParam()) = 0;
// [501] IOleCommandTarget::QueryStatus
virtual HRESULT STDMETHODCALLTYPE QueryStatusWB(Shdocvw_tlb::OLECMDID cmdID/*[in]*/,
Shdocvw_tlb::OLECMDF* pcmdf/*[out,retval]*/) = 0;
// [502] IOleCommandTarget::Exec
virtual HRESULT STDMETHODCALLTYPE ExecWB(Shdocvw_tlb::OLECMDID cmdID/*[in]*/,
Shdocvw_tlb::OLECMDEXECOPT cmdexecopt/*[in]*/,
TVariant* pvaIn/*[in,opt]*/= TNoParam(),
TVariant* pvaOut/*[in,out,opt]*/= TNoParam()) = 0;
// [503] Set BrowserBar to Clsid
virtual HRESULT STDMETHODCALLTYPE ShowBrowserBar(TVariant* pvaClsid/*[in]*/,
TVariant* pvarShow/*[in,opt]*/= TNoParam(),
TVariant* pvarSize/*[in,opt]*/= TNoParam()) = 0;
virtual HRESULT STDMETHODCALLTYPE get_ReadyState(Shdocvw_tlb::tagREADYSTATE* plReadyState/*[out,retval]*/) = 0; // [-525]
// [550] Controls if the frame is offline (read from cache)
virtual HRESULT STDMETHODCALLTYPE get_Offline(TOLEBOOL* pbOffline/*[out,retval]*/) = 0;
// [550] Controls if the frame is offline (read from cache)
virtual HRESULT STDMETHODCALLTYPE set_Offline(TOLEBOOL pbOffline/*[in]*/) = 0;
// [551] Controls if any dialog boxes can be shown
virtual HRESULT STDMETHODCALLTYPE get_Silent(TOLEBOOL* pbSilent/*[out,retval]*/) = 0;
// [551] Controls if any dialog boxes can be shown
virtual HRESULT STDMETHODCALLTYPE set_Silent(TOLEBOOL pbSilent/*[in]*/) = 0;
// [552] Registers OC as a top-level browser (for target name resolution)
virtual HRESULT STDMETHODCALLTYPE get_RegisterAsBrowser(TOLEBOOL* pbRegister/*[out,retval]*/) = 0;
// [552] Registers OC as a top-level browser (for target name resolution)
virtual HRESULT STDMETHODCALLTYPE set_RegisterAsBrowser(TOLEBOOL pbRegister/*[in]*/) = 0;
// [553] Registers OC as a drop target for navigation
virtual HRESULT STDMETHODCALLTYPE get_RegisterAsDropTarget(TOLEBOOL* pbRegister/*[out,retval]*/) = 0;
// [553] Registers OC as a drop target for navigation
virtual HRESULT STDMETHODCALLTYPE set_RegisterAsDropTarget(TOLEBOOL pbRegister/*[in]*/) = 0;
// [554] Controls if the browser is in theater mode
virtual HRESULT STDMETHODCALLTYPE get_TheaterMode(TOLEBOOL* pbRegister/*[out,retval]*/) = 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -