﻿<?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>C++博客-3D FPS -随笔分类-MFC</title><link>http://www.cppblog.com/jimsmorong/category/17677.html</link><description>1234567890</description><language>zh-cn</language><lastBuildDate>Mon, 05 Sep 2011 03:34:32 GMT</lastBuildDate><pubDate>Mon, 05 Sep 2011 03:34:32 GMT</pubDate><ttl>60</ttl><item><title>spin control 和 edit control 绑定的技巧</title><link>http://www.cppblog.com/jimsmorong/archive/2011/09/05/155116.html</link><dc:creator>DK_jims</dc:creator><author>DK_jims</author><pubDate>Mon, 05 Sep 2011 03:31:00 GMT</pubDate><guid>http://www.cppblog.com/jimsmorong/archive/2011/09/05/155116.html</guid><wfw:comment>http://www.cppblog.com/jimsmorong/comments/155116.html</wfw:comment><comments>http://www.cppblog.com/jimsmorong/archive/2011/09/05/155116.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/jimsmorong/comments/commentRss/155116.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/jimsmorong/services/trackbacks/155116.html</trackback:ping><description><![CDATA[<div><p>edit control 和spin control是绑定在一起的，也就是他们得数值是一样的， <br /></p><p>在设计的过程中绑定在一起，其实是很简单的一个技巧，但是可以非常方便的使用。</p><p><br /></p> <p>首先，要让Spin Control的Tab Order紧跟着Edit Control（就是说，Spin Control的Tab Ordr是Edit Control的Tab Order加1）。<br />然后，设置Spin Control的Auto Buddy和Set Buddy Integer属性为True。</p> <p>设置tab order 的方法是 ctrl+d ,然后用鼠标按个点击选择，就是按TAB键是焦点在窗体上的移动顺序。</p></div><img src ="http://www.cppblog.com/jimsmorong/aggbug/155116.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/jimsmorong/" target="_blank">DK_jims</a> 2011-09-05 11:31 <a href="http://www.cppblog.com/jimsmorong/archive/2011/09/05/155116.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>