com.jniwrapper.win32.mshtml
Interface IDocHostUIHandler
- All Superinterfaces:
- AutoDeleteParameter, IUnknown
- All Known Implementing Classes:
- IDocHostUIHandlerImpl
- public interface IDocHostUIHandler
- extends IUnknown
This interface is utilized by application that hosts WebBrowser Control or Microsoft Internet Explorer
and uses custom menus, toolbars, context menus.
This interface corresponds to IDocHostUIHandler native interface.
- See Also:
-
Microsoft Internet development SDK documentation
|
Method Summary |
void |
enableModeless(VariantBool fEnable)
|
IDataObject |
filterDataObject(IDataObject pDO)
|
IDropTarget |
getDropTarget(IDropTarget pDropTarget)
|
IDispatch |
getExternal()
|
void |
getHostInfo(DocHostUIInfo pInfo)
|
void |
getOptionKeyPath(Int32 pOLESTRchKey,
Int32 dw)
|
void |
hideUI()
|
void |
onDocWindowActivate(VariantBool fActivate)
|
void |
onFrameWindowActivate(VariantBool fActivate)
|
void |
resizeBorder(Rect prcBorder,
IOleInPlaceUIWindow pUIWindow,
VariantBool fRameWindow)
|
void |
showContextMenu(ContextMenuTarget dwContext,
Point pPOINT,
IOleCommandTarget pCommandTarget,
IDispatch HTMLTagElement)
|
void |
showUI(Int32 dwID,
IOleInPlaceActiveObject pActiveObject,
IOleCommandTarget pCommandTarget,
IOleInPlaceFrame pFrame,
IOleInPlaceUIWindow pDoc)
|
void |
translateAccelerator(Msg lpmsg,
GUID pguidCmdGroup,
Int32 nCmdID)
|
Int32 |
translateUrl(Int32 dwTranslate,
Int32 pchURLIn)
|
void |
updateUI()
|
INTERFACE_IDENTIFIER
public static final java.lang.String INTERFACE_IDENTIFIER
- See Also:
- Constant Field Values
showContextMenu
public void showContextMenu(ContextMenuTarget dwContext,
Point pPOINT,
IOleCommandTarget pCommandTarget,
IDispatch HTMLTagElement)
throws ComException
- Parameters:
dwContext - [in]pPOINT - [in,out]pCommandTarget - [in]HTMLTagElement - [in]
- Throws:
ComException
getHostInfo
public void getHostInfo(DocHostUIInfo pInfo)
throws ComException
- Parameters:
pInfo - [in,out]
- Throws:
ComException
showUI
public void showUI(Int32 dwID,
IOleInPlaceActiveObject pActiveObject,
IOleCommandTarget pCommandTarget,
IOleInPlaceFrame pFrame,
IOleInPlaceUIWindow pDoc)
throws ComException
- Parameters:
dwID - [in]pActiveObject - [in]pCommandTarget - [in]pFrame - [in]pDoc - [in]
- Throws:
ComException
hideUI
public void hideUI()
throws ComException
- Throws:
ComException
updateUI
public void updateUI()
throws ComException
- Throws:
ComException
enableModeless
public void enableModeless(VariantBool fEnable)
throws ComException
- Parameters:
fEnable - [in]
- Throws:
ComException
onDocWindowActivate
public void onDocWindowActivate(VariantBool fActivate)
throws ComException
- Parameters:
fActivate - [in]
- Throws:
ComException
onFrameWindowActivate
public void onFrameWindowActivate(VariantBool fActivate)
throws ComException
- Parameters:
fActivate - [in]
- Throws:
ComException
resizeBorder
public void resizeBorder(Rect prcBorder,
IOleInPlaceUIWindow pUIWindow,
VariantBool fRameWindow)
throws ComException
- Parameters:
prcBorder - [in,out]pUIWindow - [in]fRameWindow - [in]
- Throws:
ComException
translateAccelerator
public void translateAccelerator(Msg lpmsg,
GUID pguidCmdGroup,
Int32 nCmdID)
throws ComException
- Parameters:
lpmsg - [in,out]pguidCmdGroup - [in,out]nCmdID - [in]
- Throws:
ComException
getOptionKeyPath
public void getOptionKeyPath(Int32 pOLESTRchKey,
Int32 dw)
throws ComException
- Parameters:
pOLESTRchKey - [in,out]dw - [in]
- Throws:
ComException
getDropTarget
public IDropTarget getDropTarget(IDropTarget pDropTarget)
throws ComException
- Parameters:
pDropTarget - [in]
- Throws:
ComException
getExternal
public IDispatch getExternal()
throws ComException
- Throws:
ComException
translateUrl
public Int32 translateUrl(Int32 dwTranslate,
Int32 pchURLIn)
throws ComException
- Parameters:
dwTranslate - [in]pchURLIn - [in]
- Throws:
ComException
filterDataObject
public IDataObject filterDataObject(IDataObject pDO)
throws ComException
- Parameters:
pDO - [in]
- Throws:
ComException