关于CppWebBrowser使用

LinboWeibu_huang LinboWeibu_huang 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
现在C++builder6 ,做一个可以访问网页的程序 ,下面是一个网页的 HTML,如何执行??


<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible"
content="IE=edge">
<meta name="viewport" content="initial-scale=1.0,
user-scalable=no, width=device-width">
<link rel="stylesheet"
href="https://a.amap.com/jsapi_demos/static/demo-
center/css/demo-center.css" />
<title>地图显示</title>
<style>
html,
body,
#container {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="container"></div>
<!-- 加载地图JSAPI脚本 -->
<script src="https:/www.baidu.com"></script>
<script>
var map = new AMap.Map('container', {
resizeEnable: true, //是否监控地图容器尺寸
变化
zoom:11, //初始化地图层级
center: [116.397428, 39.90923] //初始化地图
中心点
});
</script>
</body>
</html>
...全文
评论 2
收藏 已收藏
分享
返回顶部