ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Windows Internet Explorer - C++
    ActiveX/인터넷 익스플로러 2009. 8. 10. 17:59
    ShellWindows::IShellWindows
    .GetCount()

    IWebBrowser2
    .GetLocationName()
    .GetDocument() // IHTMLDocument2

    IHTMLDocument2
    .Gettitle()
    .get_body() // IHTMLElement

    IHTMLElement
    .get_outerHTML()

        IObjectWithSite // BHO COM Server
            SetSite()
                IUnknown

    IWebBrowser // ExDisp.h
        .GoBack()
        .GoForward()
        .GoHome()
        .GoSearch()
        .Refresh()
        .Refresh2()
        .Stop()
        .get_Application()
        .get_Parent()
        .get_Container()
        .get_Document() // IHTMLDocument2 *
        .get_TopLevelContainer()
        .get_Type()
        .get_Left()
        .get_Top()
        .put_Left()
        .put_Top()
        .get_Width()
        .put_Width()
        .get_Height()
        .put_Height()
        .get_LocationName()
        .get_LocationURL()
        .get_Busy()

    IWebBrowser2 // ??
    .get_LocationURL()
    IWebBrowserApp -> IWebBrowser // ExDisp.h
        .Quit()
        .ClientToWindow()
        .PutProperty()
        .GetProperty()
        .get_Name()
        .get_HWND()
        .get_FullName()
        .get_Path()
        .get_Visible()
        .put_Visible()
        .get_StatusBar()
        .put_StatusBar()
        .get_StatusText()
        .put_StatusText()
        .get_ToolBar()
        .put_ToolBar()
        .get_MenuBar()
        .put_MenuBar()
        .get_FullScreen()
        .put_FullScreen()

    IConnectionPointContainer // OCIdl.h
        .FindConnectionPoint() // IConnectionPoint
    DIID_DWebBrowserEvents2

    IConnectionPoint
        .Advise()

    DWebBrowserEvents2
    .Advise()
    .Unadvise()

    DISPID_BEFORENAVIGATE2
    DISPID_NAVIGATECOMPLETE2
    /*
    #define DISPID_BEFORENAVIGATE2      250   // hyperlink clicked on
    #define DISPID_NEWWINDOW2           251
    #define DISPID_NAVIGATECOMPLETE2    252   // UIActivate new document
    #define DISPID_ONQUIT               253
    #define DISPID_ONVISIBLE            254   // sent when the window goes visible/hidden
    #define DISPID_ONTOOLBAR            255   // sent when the toolbar should be shown/hidden
    #define DISPID_ONMENUBAR            256   // sent when the menubar should be shown/hidden
    #define DISPID_ONSTATUSBAR          257   // sent when the statusbar should be shown/hidden
    #define DISPID_ONFULLSCREEN         258   // sent when kiosk mode should be on/off
    #define DISPID_DOCUMENTCOMPLETE     259   // new document goes ReadyState_Complete
    #define DISPID_ONTHEATERMODE        260   // sent when theater mode should be on/off
    #define DISPID_ONADDRESSBAR         261   // sent when the address bar should be shown/hidden
    #define DISPID_WINDOWSETRESIZABLE   262   // sent to set the style of the host window frame
    #define DISPID_WINDOWCLOSING        263   // sent before script window.close closes the window
    #define DISPID_WINDOWSETLEFT        264   // sent when the put_left method is called on the WebOC
    #define DISPID_WINDOWSETTOP         265   // sent when the put_top method is called on the WebOC
    #define DISPID_WINDOWSETWIDTH       266   // sent when the put_width method is called on the WebOC
    #define DISPID_WINDOWSETHEIGHT      267   // sent when the put_height method is called on the WebOC
    #define DISPID_CLIENTTOHOSTWINDOW   268   // sent during window.open to request conversion of dimensions
    #define DISPID_SETSECURELOCKICON    269   // sent to suggest the appropriate security icon to show
    #define DISPID_FILEDOWNLOAD         270   // Fired to indicate the File Download dialog is opening
    #define DISPID_NAVIGATEERROR        271   // Fired to indicate the a binding error has occured
    #define DISPID_PRIVACYIMPACTEDSTATECHANGE   272  // Fired when the user's browsing experience is impacted
    */

    참조 사이트:
Designed by Tistory.