﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-锋子的家</title><link>http://www.cnitblog.com/FengZ/</link><description>web编程,光盘整合,autoit,bblean,个人日记</description><language>zh-cn</language><lastBuildDate>Tue, 05 May 2026 17:29:50 GMT</lastBuildDate><pubDate>Tue, 05 May 2026 17:29:50 GMT</pubDate><ttl>60</ttl><item><title>用BBI做的侧栏</title><link>http://www.cnitblog.com/FengZ/archive/2006/11/23/19539.html</link><dc:creator>tendyzz</dc:creator><author>tendyzz</author><pubDate>Thu, 23 Nov 2006 04:47:00 GMT</pubDate><guid>http://www.cnitblog.com/FengZ/archive/2006/11/23/19539.html</guid><wfw:comment>http://www.cnitblog.com/FengZ/comments/19539.html</wfw:comment><comments>http://www.cnitblog.com/FengZ/archive/2006/11/23/19539.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/FengZ/comments/commentRss/19539.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/FengZ/services/trackbacks/19539.html</trackback:ping><description><![CDATA[本人发的第一个blog,先说明一下.Tendy就是锋子,锋子就是Tendy.免得有人说我抄别人的.<br />描述：效果图<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_a7309d6d39fc5be.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_a7309d6d39fc5be.gif" border="0" /> <br /><br />描述：效果图<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_38271f3a505e5db.jpg');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_38271f3a505e5db.jpg" border="0" /> <br /><span class="tpc_content"><font size="2">自己做的侧栏,做得不好.还望高手指教!!</font><br />请到<a href="http://fengz.ys168.com/">http://fengz.ys168.com/</a>下载<br /><br />教程:<br /><br />描述：在About This Control上按Ctrl+鼠标右键新建一个Frame.<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_82726f76a2ccdde.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_82726f76a2ccdde.gif" border="0" />  <br /><br />描述：打开pluginsbbinterfaceBBInterface.rc把Frame1的高度修改为392宽度修改为176<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_9aaf1c5a766b20a.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_9aaf1c5a766b20a.gif" border="0" /> <br /><br />描述：在Frame1上新建一个开关按钮.名字SwitchButton1 坐标X2 Y2 高和宽19<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_1c7c7d820364878.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_1c7c7d820364878.gif" border="0" /> <br /><br />描述：选如下菜单复制出一个开关按钮.名字SwitchButton2 坐标X23 Y2 高宽19<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_1a3e14fd1003af1.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_1a3e14fd1003af1.gif" border="0" />  <br /><br />描述：在Frame1上按Ctrl鼠标右键新建一个Frame名是Frame2,坐标X2 Y23 高138 宽172<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_ed1ff555c5775a0.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_ed1ff555c5775a0.gif" border="0" />  <br /><br />描述：为方便演试,在Frame2上添加文字"菜单一"<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_3062299df5efaee.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_3062299df5efaee.gif" border="0" />  <br /><br />描述：把Frame2复制一个.名字Frame3大小坐标和Frame2一样.把文字修改成"菜单二"<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_936eeb2c22cb021.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_936eeb2c22cb021.gif" border="0" />  <br /><br />描述：在Frame1上按Ctrl鼠标右键,新建一个Frame名字是.Frame4<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_882ef6f01ef9b61.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_882ef6f01ef9b61.gif" border="0" />  <br /><br />描述：在Frame4上按Ctrl+鼠标右键把Frame4隐藏.<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_c36856839bd950d.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_c36856839bd950d.gif" border="0" />  <br /><br />描述：打开pluginsbbinterfaceBBInterface.rc把Frame4高度修改为138也就是和Fram1高度一样.<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_dfa650d892cdee5.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_dfa650d892cdee5.gif" border="0" />  <br /><br />描述：在Frame1上按Ctrl鼠标右键新建一个Frame名是Frame5.坐标X2 Y163 高215 宽172<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_de5ab4f3a21c70c.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_de5ab4f3a21c70c.gif" border="0" />  <br /><br />描述：在Frame1上按Ctrl鼠标右键新建一个开关按钮名字SwitchButton3.坐标X2 Y380 高10宽172<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_177adb47ce41e9a.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_177adb47ce41e9a.gif" border="0" />  <br /><br />描述：把SwitchButton1的开关状态修改为true.你也可以在SwitchButton1开关上按一下.<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_564cc8a5bdc343f.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_564cc8a5bdc343f.gif" border="0" />  <br /><br />描述：把SwitchButton2的开关状态修改为flase.也就是开关没有按下时的状态.<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_a7039688d1861db.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_a7039688d1861db.gif" border="0" />  <br /><br />描述：把SwitchButton3的开关状态修改为true.你也可以在SwitchButton3开关上按一下.<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_f937a579b4367be.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_f937a579b4367be.gif" border="0" /> <br /><br />描述：以下最终是建立好的侧栏.<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_7ed8e99bac6da16.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_7ed8e99bac6da16.gif" border="0" /> <br /><span class="tpc_content"><font size="2">第一次做教程,大家不要见笑呀.关于Script.rc的说明就不写了,论坛上有很多相关的贴了.</font><br />描述：添加SwitchButton1的Praessed动做.@BBInterface Plugin Load [vmenu1] from script.rc.SwitchButton2的Praessed动做添加方法一样.@BBInterface Plugin Load [vmenu2] from script.rc<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_a5d25386027320f.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_a5d25386027320f.gif" border="0" /> <br />描述：添加SwitchButton1的Unpraessed动做.@BBInterface Plugin Load [Hmenu] from script.rc. SwitchButton2的Unpraessed动做也一样.<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_7498bf682bbaabb.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_7498bf682bbaabb.gif" border="0" /> <br /><br />描述：添加SwitchButton3的Praessed动做.@BBInterface Plugin Load [ShowKZFrame] from script.rc<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_fcda6a71c116eb9.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_fcda6a71c116eb9.gif" border="0" /> <br /><br />描述：添加SwitchButton3的Unpraessed动做.@BBInterface Plugin Load [HKZFrame] from script.rc<br />图片： <br /><img onclick="if(this.width&gt;screen.width-461) window.open('http://www.deepin.org/attachment/Mon_0610/37_108397_8f496de8b5475ea.gif');" src="http://www.deepin.org/attachment/Mon_0610/37_108397_8f496de8b5475ea.gif" border="0" /> <br /><span class="tpc_content"><font size="2">在plugins\bbinterface\新建一个文件.把名字改为script.rc.内容如下.<br />[HMenu]<br />@BBInterface Control SetWindowProperty Frame2 IsVisible false<br />@BBInterface Control SetWindowProperty Frame3 IsVisible false<br />@BBInterface Control SetWindowProperty Frame1 Height $Frame1.Height$-$Frame4.Height$<br />@BBInterface Control SetWindowProperty SwitchButton3 Y $Frame1.Height$-<br /><br />$SwitchButton3.Height$-2<br />@BBInterface Control SetWindowProperty Frame5 Y $Frame1.Height$-$SwitchButton3.Height$-<br /><br />$Frame5.Height$-4<br />@BBInterface Control SetWindowProperty Frame4 Height 0<br /><br />[vmenu1]<br />@BBInterface Control SetWindowProperty Frame2 IsVisible true<br />@BBInterface Control SetWindowProperty Frame3 IsVisible false<br />@BBInterface Control SetControlProperty SwitchButton2 Pressed false<br />@BBInterface Control SetWindowProperty Frame1 Height $Frame1.Height$-<br /><br />$Frame4.Height$+$Frame2.Height$<br />@BBInterface Control SetWindowProperty Frame4 Height $Frame2.Height$<br />@BBInterface Control SetWindowProperty SwitchButton3 Y $Frame1.Height$-<br /><br />$SwitchButton3.Height$-2<br />@BBInterface Control SetWindowProperty Frame5 Y $Frame1.Height$-$SwitchButton3.Height$-<br /><br />$Frame5.Height$-4<br /><br />[vmenu2]<br />@BBInterface Control SetWindowProperty Frame2 IsVisible false<br />@BBInterface Control SetWindowProperty Frame3 IsVisible true<br />@BBInterface Control SetControlProperty SwitchButton1 Pressed false<br />@BBInterface Control SetWindowProperty Frame1 Height $Frame1.Height$-<br /><br />$Frame4.Height$+$Frame3.Height$<br />@BBInterface Control SetWindowProperty Frame4 Height $Frame3.Height$<br />@BBInterface Control SetWindowProperty SwitchButton3 Y $Frame1.Height$-<br /><br />$SwitchButton3.Height$-2<br />@BBInterface Control SetWindowProperty Frame5 Y $Frame1.Height$-$SwitchButton3.Height$-<br /><br />$Frame5.Height$-4<br /><br />[ShowKZFrame]<br />@BBInterface Control SetWindowProperty Frame5 IsVisible true<br />@BBInterface Control SetWindowProperty Frame1 Height $Frame1.Height$+$Frame5.Height$<br />@BBInterface Control SetWindowProperty SwitchButton3 Y $Frame1.Height$-<br /><br />$SwitchButton3.Height$-2<br />@BBInterface Control SetWindowProperty Frame5 Y $Frame1.Height$-$SwitchButton3.Height$-<br /><br />$Frame5.Height$-4<br /><br />[HKZFrame]<br />@BBInterface Control SetWindowProperty Frame5 IsVisible false<br />@BBInterface Control SetWindowProperty Frame1 Height $Frame1.Height$-$Frame5.Height$<br />@BBInterface Control SetWindowProperty SwitchButton3 Y $Frame1.Height$-<br /><br />$SwitchButton3.Height$-2<br />@BBInterface Control SetWindowProperty Frame5 Y $Frame1.Height$-$SwitchButton3.Height$-<br /><br />$Frame5.Height$-4<br /><br />(全文完)</font></span><br /></span></span><img src ="http://www.cnitblog.com/FengZ/aggbug/19539.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/FengZ/" target="_blank">tendyzz</a> 2006-11-23 12:47 <a href="http://www.cnitblog.com/FengZ/archive/2006/11/23/19539.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>