Home > Back-end >  About CppWebBrowser use
About CppWebBrowser use

Time:09-17

C + + builder6 now, doing a program that can access the web page, the following is an HTML page, how to do??





<meta charset="utf-8" & gt;
<meta HTTP - equiv="X-ray UA - Compatible"
The content="IE=edge" & gt;
<meta name="viewport" content="initial - scale=1.0,
User - scalable=no, width=device - width & gt;"
<link rel="stylesheet"
Href="https://a.amap.com/jsapi_demos/static/demo-
Center/CSS/demo - center. CSS/& gt; ""
The map shows & lt;/title> <br/><style> <br/>HTML, <br/>Body, <br/># container {<br/>width: 100%; <br/>height: 100%; <br/>} <br/></style> <br/></head> <br/><body> <br/><Div id="container" & gt; </div> <br/><! - loading map JSAPI script - & gt; <br/><script SRC="https://bbs.csdn.net/topics/https:/www.baidu.com" & gt; </script> <br/><script> <br/>Var map=new AMap. The map (' container '{<br/>Whether resizeEnable: true,//monitor map container size <br/>Change <br/>Zoom: 11,//initializes the map hierarchy <br/>Center: [116.397428, 39.90923]//initializes the map <br/>Center <br/>}); <br/></script> <br/></body> <br/></html> <br/><p class="article - content rp"> CodePudding user response: </p>Or use javascript to do 6 cppwebbrowser is too old, or with indyHttml<p class="article - content rp"> CodePudding user response: </p>Javascript, or indyHttml, can be embedded into the exe, for example not <br/> </div> <div class="th_page th_page_color"></div> <div class="umCopyright"> <p>Page link:<a href="/Backend/6716.html" target="_blank" style="color:#999">https//www.codepudding.com/Backend/6716.html</a></p> </div> <div class="detail-arr"> <div class="detail-arr-left">Prev:<a href='/Backend/6715.html'>What kind of IC card reader and provide development on the Java interface?</a></div> <div class="detail-arr-right">Next:<a href='/Backend/6717.html'>For a great god</a></div> </div> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="hot-tags neitags"> <ul> <li><i class="iconfont icon-x-tags"></i> Tags:  </li> <a href='/e/tags/?tagname=ActiveX%2FCOM%2FDCOM' target='_blank'>ActiveX/COM/DCOM</a> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="xiangguan"> <ul class="msg msghead"> <li class="tbname">Related</li> </ul> <ul> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="flinks"> <ul> <li><i class="iconfont icon-x-tags"></i> Links:  </li> <li class="liflinks"><a target="_blank" href="/" title="CodePudding">CodePudding</a></li> </ul> </div> </div> </div> </div> <div class="footer"> <p><span style="font-size:16px;color:#666;font-weight: bold">About Us:</span>  <a href="https://www.codepudding.com/contact.html">Contact Us</a>      <a href="https://www.codepudding.com/service.html">Terms of Service</a>      <a href="https://www.codepudding.com/privacy.html"> Privacy Policy</a></p> <p class="foot_info">Copyright © 2010-2023,Powered By <a href="/" target="_blank">CodePudding</a> </p> </div> <script type="text/javascript" src="/skin/code/tianhu.js"></script> </body></html>