如何将iframe嵌入GUI?

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 如何将iframe嵌入GUI?

如何将iframe嵌入GUI?

Post by mmmzq » 10 Jan 2018, 01:21

创造Shell.Explorer ActiveX控件之后,我希望在浏览到指定网页的时候将网页中的某个iframe单独显示出来

Code: Select all

iframeurl := ie.document.parentwindow.frames[0].document.url
ie.navigate(iframeurl)
都是一样的操作,ActiveX控件显示出来就会丢失某些style和script,导致按钮失效还有排版出问题,但是ComObjCreate("InternetExplorer.Application")就能正常显示内容

怎么破?

Top