那我想问问弹出的窗口是在XML里面配置的还是需要在wtl工程里面去写?

解决方案 »

  1.   

    <layer title="老祖游戏安装向导 " width="737" height="198" appwin="1"  >
        <body width="full" height="full">
            <dlg id="601" class="maindlg" pos="0,0,737,198" rgn="15" crbg="FBFCFD" show="1">
                <dlg id="602" pos="0,0,737,198" show="0">
                    <img pos="0,0,737,198" skin="Setuplogo" show="1" />
                    <imgbtn id="1120" class="linkimage" skin="MyChange" pos="346,92,396,109" />
                    <text class="infostyle" pos="68,60,315,75">安装路径</text>
                    <realwnd id="310" ctrlid="310" show="0" pos="68,92,339,112" />
                    <imgbtn id="1121" class="linkimage" skin="MyCancel" pos="90,132,300,146" />
                    <imgbtn id="1122" class="linkimage" skin="MyInstall" pos="174,132,231,146" />

        <check id="206" pos="251,146" crtext="fefefe" tip="同意" />
                    <text id="207" pos="275,146" crtext="383838">同意</text>
                    <text id="104" class="linktext" pos="331,146" crtext="383838">使用协议</text>
                </dlg>
                <dlg id="604" pos="0,0,737,198" show="0">
                    <img pos="0,0,737,198" skin="SetupSlogan" show="1" />
                    <img pos="212,107,231,127" skin="MyProgressLeft" show="1" />
                    <img pos="692,106,711,126" skin="MyProgressRight" show="1" />
    <text id="1510" pos="214,88">正在安装...</text>
                    <text id="1506" crtext="2B2B2B" pos="449,135">1%</text>
                    <text id="1503" show="0" pos="214,88">已完成1%</text>
                </dlg>
                <dlg id="605" pos="0,0,737,198" show="0">
                    <img pos="0,0,737,198" skin="MyBk3" show="1" />
                    <imgbtn id="1123" class="linkimage" skin="MyRun" pos="454,110,527,144" />
                  
                    <imgbtn id="1125" class="linkimage" skin="MyExit" pos="557,110,630,144" />
                </dlg>
      

  2.   

    上面的是xml的部分实现,怎样在xml里面弹出一个窗口呢?
      

  3.   

    用XML控制,就不是太清楚了,对那个什么库不了解,估计所有需要绘画的东西都是写在XML里面,窗口代码按照XML要求绘画