Skip to content
AutoHotKey
2011.02.22 01:15

ahk_l 과 com 의 이해

조회 수 17485 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

ahk_l 과 com 의 이해


COM Object Reference [AutoHotkey_L]

Goto page 12345678  Next



COM Standard Library
Goto page 123 ... 414243  Next

   
   url:="http://www.google.com"
   pwb.Navigate(url)
   loop
      If !pwb.busy
         break

   ;; get the gui handle
   GuiHWND:= WinExist()
   
   ;; create an instance of Internet Explorer_Server return the hwnd
   ATLWinHWND := Atl_AxCreateContainer(GuiHWND,0,0,510,600, "Shell.Explorer")
   
   ;;get the iwebbrowser2 interface pointer
   pwb := Atl_AxGetControl( ATLWinHWND )
      



















   ; insert an HTMLfile into the control 
   doc := COM_AtlAxCreateControl( ctrl_hwnd, "HTMLfile" ) ; http://msdn.microsoft.com/en-us/library/da181h29 
   NativeCom(doc) ; ensures the "doc" object uses Native COM 
   doc.write(html) 



NativeCom( ByRef obj ) { ; ensures the "obj" object uses Native COM 
   if Not IsObject(obj) 
      return 
   ComObjError(false) 
   if Not ComObjType(obj,"iid") 
      obj := ComObjEnwrap(COM_Unwrap(obj)) 
   ComObjError(true) 
}





















로그인 후 댓글쓰기가 가능합니다.

?

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소