<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Visual C++ 6.0 &#8211; WilliamKyle&#039;s Home</title>
	<atom:link href="https://www.williamkyle.com.cn/archives/tag/visual-c-6-0/feed" rel="self" type="application/rss+xml" />
	<link>https://www.williamkyle.com.cn</link>
	<description>不积跬步，无以至千里；不积小流，无以成江海。</description>
	<lastBuildDate>Fri, 08 Apr 2022 14:37:54 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2.2</generator>
	<item>
		<title>Visual C++ 6.0 CDialogBar Create 出错解决方案</title>
		<link>https://www.williamkyle.com.cn/archives/141.html</link>
					<comments>https://www.williamkyle.com.cn/archives/141.html#respond</comments>
		
		<dc:creator><![CDATA[WilliamKyle]]></dc:creator>
		<pubDate>Mon, 27 Feb 2012 13:18:53 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[CDialogBar Create]]></category>
		<category><![CDATA[MFC]]></category>
		<category><![CDATA[Visual C++ 6.0]]></category>
		<guid isPermaLink="false">http://www.williamkyle.com.cn/?p=141</guid>

					<description><![CDATA[今天打算弄一个工具栏，于是设计了一个对话框，然后建立一个 CDialogBar 对象，可是在 Create 的 &#8230; <a href="https://www.williamkyle.com.cn/archives/141.html" class="more-link">继续阅读<span class="screen-reader-text">Visual C++ 6.0 CDialogBar Create 出错解决方案</span></a>]]></description>
										<content:encoded><![CDATA[
<p>今天打算弄一个工具栏，于是设计了一个对话框，然后建立一个 CDialogBar 对象，可是在 Create 的时候老是出错，报错地点如下：</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="//www.williamkyle.com.cn/wp-content/uploads/ckfinder/images/141.jpg" alt=""/></figure></div>



<pre class="wp-block-code has-dark-gray-color has-text-color"><code lang="cpp" class="language-cpp">File:bardlg.cpp
Line:48</code></pre>



<p>然后看了一下别人的建立过程，发现别人建立对话框的时候，是直接建立的 <strong>IDD_DIALOGBAR</strong> 的对话框，于是比较了 <strong>IDD_DIALOGBAR</strong> 和 <strong>IDD_DIALOG</strong> 的各种参数，发现只要把建立的 <strong>IDD_DIALOG</strong> 对话框的属性改一下就可以了。<br /></p>



<p>样式：下层；边框：无；<br />更多样式：取消可见</p>



<p>其他的设置没有测试，默认的对话框按以上设置之后就能当作工具栏使用了。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.williamkyle.com.cn/archives/141.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Visual C++ 6.0 使用心得</title>
		<link>https://www.williamkyle.com.cn/archives/128.html</link>
					<comments>https://www.williamkyle.com.cn/archives/128.html#respond</comments>
		
		<dc:creator><![CDATA[WilliamKyle]]></dc:creator>
		<pubDate>Sat, 25 Feb 2012 13:18:05 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[编程]]></category>
		<category><![CDATA[Visual C++ 6.0]]></category>
		<guid isPermaLink="false">http://www.williamkyle.com.cn/?p=128</guid>

					<description><![CDATA[Visual C++ 6.0 使用了一段时间了，其中有些东西修改一下能用得更加顺手，于是记录一下。 修改工作空 &#8230; <a href="https://www.williamkyle.com.cn/archives/128.html" class="more-link">继续阅读<span class="screen-reader-text">Visual C++ 6.0 使用心得</span></a>]]></description>
										<content:encoded><![CDATA[
<p>Visual C++ 6.0 使用了一段时间了，其中有些东西修改一下能用得更加顺手，于是记录一下。</p>



<h5 class="wp-block-heading">修改工作空间的图标</h5>



<p>打开注册表，定位到 <strong>HKEY_CLASSES_ROOT\dswfile\DefaultIcon</strong>, 双击默认，然后把 msdev.exe 之后的串删了即可。</p>



<h5 class="wp-block-heading">新建进程打开项目</h5>



<p>直接删除注册表 <strong>HKEY_CLASSES_ROOT\dswfile\shell\&amp;Open with MSDev\ddeexec</strong> 部分，再次打开 dsw 文件的时候就不会把原来开着的项目给关了。</p>



<h5 class="wp-block-heading">Windows 7 下添加文件到项</h5>



<p>首先下载一个插件 <a href="http://www.williamkyle.com.cn/wp-content/uploads/ckfinder/files/FileTool.rar">FileTool</a>，然后解压到文件夹 <strong>C:\Program Files\Microsoft Visual Studio\Common\MSDev98\AddIns</strong>（假设是安装在默认的位置，详情请根据机器调整），然后打开 VC——工具——定制——附加项和宏文件，勾选 <strong>FileTool Developer Studio Add-in</strong>，这时就会出来一个工具条，就可以通过工具条添加、打开文件了。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.williamkyle.com.cn/archives/128.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
