VC++如何利用xml文件制作界面???
xml文件部分代码如下:<?xmlversion="1.0"encoding="UTF-8"?><themeversion="1.0"><WindowminWidth="...
xml文件部分代码如下:
<?xml version="1.0" encoding="UTF-8"?>
<theme version="1.0">
<Window minWidth="120" minHeight="300" maxWidth="1024" maxHeight="768" clippingColor="#FF00FF" backgroundColor="#FF00FF">
<Picture id="1" left="0" top="0" width="240" height="320" transparencyColor="#FF00FF" image="background.bmp" nWidth="239" nHeight="320" >
<Rect name="rectPaint" left="0" top="0" width="240" height="320" />
</Picture>
<Time id="2" left="10" top="267" width="60" height="18" transparencyColor="#FF00FF" image="Time.bmp" nWidth="132" nHeight="18" />
<Label id="3" left="80" top="30" width="150" height="20" transparencyColor="#FF00FF" >
<Rect name="rectPaint" left="0" top="0" width="150" height="20" />
<Font fontHeight="8" fontFace="Arial" color="#FFFFFF" selectedColor="#2E77D4" offset="0" />
</Label>
我想知道如何利用xml实现界面
我想知道具体的技术细节是如何实现的,比如是否使用第三方库, 展开
<?xml version="1.0" encoding="UTF-8"?>
<theme version="1.0">
<Window minWidth="120" minHeight="300" maxWidth="1024" maxHeight="768" clippingColor="#FF00FF" backgroundColor="#FF00FF">
<Picture id="1" left="0" top="0" width="240" height="320" transparencyColor="#FF00FF" image="background.bmp" nWidth="239" nHeight="320" >
<Rect name="rectPaint" left="0" top="0" width="240" height="320" />
</Picture>
<Time id="2" left="10" top="267" width="60" height="18" transparencyColor="#FF00FF" image="Time.bmp" nWidth="132" nHeight="18" />
<Label id="3" left="80" top="30" width="150" height="20" transparencyColor="#FF00FF" >
<Rect name="rectPaint" left="0" top="0" width="150" height="20" />
<Font fontHeight="8" fontFace="Arial" color="#FFFFFF" selectedColor="#2E77D4" offset="0" />
</Label>
我想知道如何利用xml实现界面
我想知道具体的技术细节是如何实现的,比如是否使用第三方库, 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询