home *** CD-ROM | disk | FTP | other *** search
/ An Introduction to Progr…l Basic 6.0 (4th Edition) / An Introduction to Programming using Visual Basic 6.0.iso / COMMON / TOOLS / VB / CABINETS / MSDAO350.CAB / icontrols / HTMLControl$DocUIHandler.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-01-08  |  3.2 KB  |  68 lines

  1. package icontrols;
  2.  
  3. import com.ms.com.IUnknown;
  4. import com.ms.wd.html.om.IDocHostUIHandlerDispatch;
  5. import com.ms.wd.ole32.IOleDropTarget;
  6.  
  7. public class HTMLControl$DocUIHandler implements IDocHostUIHandlerDispatch {
  8.    // $FF: synthetic field
  9.    final HTMLControl this$0;
  10.  
  11.    public void TranslateUrl(int dwTranslate, String bstrURLIn, String[] pbstrURLOut) {
  12.       pbstrURLOut[0] = bstrURLIn;
  13.    }
  14.  
  15.    public int ShowContextMenu(int dwID, int x, int y, IUnknown pcmdtReserved, Object pdispReserved) {
  16.       return 0;
  17.    }
  18.  
  19.    public void FilterDataObject(IUnknown pDO, IUnknown[] ppDORet) {
  20.       ppDORet[0] = pDO;
  21.    }
  22.  
  23.    public int ShowUI(int dwID, IUnknown pActiveObject, IUnknown pCommandTarget, IUnknown pFrame, IUnknown pDoc) {
  24.       return 0;
  25.    }
  26.  
  27.    public void OnDocWindowActivate(boolean fActivate) {
  28.    }
  29.  
  30.    public HTMLControl$DocUIHandler(HTMLControl this$0) {
  31.       (this.this$0 = this$0).getClass();
  32.    }
  33.  
  34.    public void GetHostInfo(int[] pdwFlags, int[] pdwDoubleClick) {
  35.    }
  36.  
  37.    public void EnableModeless(boolean fEnable) {
  38.    }
  39.  
  40.    public void OnFrameWindowActivate(boolean fActivate) {
  41.    }
  42.  
  43.    public void GetDropTarget(IUnknown pDropTarget, IUnknown[] ppDropTarget) {
  44.       IOleDropTarget odt1 = (IOleDropTarget)pDropTarget;
  45.       this.this$0.pTridentDropTarget = (IOleDropTarget)pDropTarget;
  46.       ppDropTarget[0] = new HTMLControl.DropTarget(this.this$0);
  47.    }
  48.  
  49.    public void HideUI() {
  50.    }
  51.  
  52.    public int TranslateAccelerator(int hWnd, int nMessage, int wParam, int lParam, String bstrGuidCmdGroup, int nCmdID) {
  53.       return 0;
  54.    }
  55.  
  56.    public void GetOptionKeyPath(String[] pbstrKey, int dw) {
  57.    }
  58.  
  59.    public void ResizeBorder(int left, int top, int right, int bottom, IUnknown pUIWindow, boolean fFrameWindow) {
  60.    }
  61.  
  62.    public void UpdateUI() {
  63.    }
  64.  
  65.    public void GetExternal(Object[] ppDispatch) {
  66.    }
  67. }
  68.