Programming

IWebBrowser2 Interface

bcheul 2007. 4. 27. 16:22

IWebBrowser2 Interface


This interface enables applications to implement an instance of the WebBrowser control (Microsoft® ActiveX® control) or control an instance of the InternetExplorer application (OLE Automation). Note that not all of the methods listed below are supported by the WebBrowser control.


이 인터페이스는 어플리케이션에게 웹브라우저 컨트롤(MS ActiveX control)로 부터 인스턴스를 전달 하거나, 인터넷 익스플로어 어플리케이션(OLE Automation?)의 인스턴스를 조정 할 수 있도록 한다.

주. 아래의 리스트는 WebBrowser 컨트롤이 지원하는 메소드들 중 불필요한 메소드는 생략 하였다.



IWebBrowser2 Member


AddressBar  : Sets or retrieves whether the address bar of the object is visible or hidden.

                  : 툴바의 주소부분을 숨기거나 표시할 때 사용하는 값을 읽거나 지정할수 있다.

Application  : Retrieves the automation object for an application that is hosting the WebBrowser Control.

                 : 웹브라우저 컨트롤상의 어플리케이션내의 자동화객체(?)를 읽을수 있다.

Busy  : Retrieves a BOOL value indicating whether the object is engaged in a navigation or downloading operation.

         : 다운로드 작업 중이거나 페이지가 로딩되고 있는지에 대한 여부를 이진 논리값으로 얻을 수 있다.

ClientToWindow  : Converts the client coordinates of a point to window coordinates.

                        : 클라이언트의 좌표를 윈도우 좌표 포인트로 전환시킨다. (왜 필요해 -_-?)

Container  : Retrieves an object reference to a container.

               : 포함된 객체에 대한 참조객체의 값을 얻는다. (??)

Document  : Retrieves the automation object of the active document, if any.

                : 자동화 객체의 활성화중인 문서의 값을 읽는다. if any. (??)

ExecWB  : Executes a command on an OLE object and returns the status of the command execution using the IOleCommandTarget interface.

             : IOleCommandTarget 인터페이스를 이용해서 OLE 객체에 명령을 실행하고, 실행에 대한 상태값을 받는다.

FullName  : Retrieves the fully qualified path of the Microsoft Internet Explorer executable file.

               : 인터넷 익스플로어에서 실행할 수 있는 파일의 경로를 포함한 전체 경로을 받는다.

FullScreen  : Sets or retrieves a VARIANT_BOOL value that indicates whether Internet Explorer is in full-screen or normal window mode.

                : 익스플로어가 풀스크린인지 일반 윈도우 모드인지에 대한 값을 VARIANT_BOOL 형식으로 받거나 설정이 가능하다.

GetProperty  : Retrieves the value of a property associated with the given object.

                  : 주어진 객체에 대한 주어진(조합된?) 프로퍼티 값을 얻는다.

GoBack  : Navigates backward one item in the history list.

             : 히스토리 리스트에서 이전페이지로 돌아간다.

GoFoword  : Navigates forward one item in the history list.

                 : 히스토리 리스트에서 이 후 페이지로 이동한다.

GoHome  : Navigates to the current home or start page.

              : 시작 페이지로 이동한다.

GoSearch  : Navigates to the current search page.

                : 설정된 검색 페이지로 이동한다.

Height  : Sets or retrieves the height of the Internet Explorer main window.

          : 익스플로어 메인 윈도우의 높이에 대한 값을 얻거나 설정 한다.

HWND  : Retrieves the handle of the Internet Explorer main window.

          : 익스플로어 메인 윈도우의 메세지 핸들을 얻는다.

Left  : Sets or retrieves the screen coordinate of the left edge of the main window of the object.

       : 객체의 메인 윈도우의 왼쪽 끝 좌표에 대한 값을 얻거나 설정한다.

LocationName  : Retrieves the name of the resource that Internet Explorer is currently displaying.

                      : 익스플로어에 표시되고 있는 자원에 대한 이름 값을 얻는다.

LocationURL  : Retrieves the URL of the resource that Internet Explorer is currently displaying.

                    : 익스플로어에 표시되고 있는 자원에 대한 URL 값을 얻는다.

ManuBar  : Sets or retrieves a VARIANT_BOOL value that indicates whether the Internet Explorer menu bar is visible.

              : 익스플로어의 메뉴바가 보이고 있는지에 대한 값을 VARIANT_BOOL 형태로 얻거나 설정이 가능하다.

Name  : Retrieves the name of the object that contains the WebBrowser Control used by Internet Explorer.

         : 익스플로어에서 사용하고 있는 웹브라우저 컨트롤에 대한 객체 이름을 얻는다(?)

Navigate  : Navigates to a resource identified by a URL or to the file identified by a full path.

              : 자원의 URL이나 파일의 경로를 통해서 페이지를 연다. (해석이...)

Navigate2  : Navigates the browser to a location that might not be able to be expressed as a URL, such as a pointer to an item identifier list (PIDL) for an entity in the Microsoft Windows® shell namespace.

                : ........ 머 이리 어려워 /-_-/ㅛ