<?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>Code Library &#187; MessageBox</title>
	<atom:link href="http://www.ucosoft.com/tag/messagebox/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ucosoft.com</link>
	<description>Free Source Code and Program Tips</description>
	<lastBuildDate>Mon, 19 Jul 2010 04:51:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>MessageBox support Ctrl+C to copy content</title>
		<link>http://www.ucosoft.com/65.html</link>
		<comments>http://www.ucosoft.com/65.html#comments</comments>
		<pubDate>Mon, 01 Jan 2007 08:26:36 +0000</pubDate>
		<dc:creator>hamo</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MessageBox]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/archives/65.html</guid>
		<description><![CDATA[It&#8217;s a good trick. From windows 2000, when a MessageBox popped out, you can use Ctrl+C to copy the content of the MessageBox window to the clipboard. It is a very interesting trick, and it is very usrful to share the information easily. The condition is only that the MessageBox window was created by MessageBoxA/MessageBoxW]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a good trick. From windows 2000, when a MessageBox popped out, you can use Ctrl+C to copy the content of the MessageBox window to the clipboard. It is a very interesting trick, and it is very usrful to share the information easily.</p>
<p>The condition is only that the MessageBox window was created by MessageBoxA/MessageBoxW from the win32 api. Whether you call AfxMessageBox or CWnd::MessageBox in vc or MsgBox in vb, they finally call the ::MessageBoxA or ::MessageBoxW, so it also works.</p>
<p>Here is a example.</p>
<p>1. When some message box popped, press Ctrl+C to copy.</p>
<p><img id="image64" style="width: 282px; height: 139px" height="139" alt="msgbox1.PNG" src="http://www.ucosoft.com/wp-content/uploads/2007/01/msgbox1.PNG" width="282" /></p>
<p>2. Paste in notepad, and you will see&#8230;<br />
<span id="more-65"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Notepad<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
The text in the Untitled file has changed.<br />
Do you want to save the changes?<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Yes No Cancel<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>

	Tags: <strong><a href="http://www.ucosoft.com/tag/messagebox" title="MessageBox" rel="tag">MessageBox</a>, <a href="http://www.ucosoft.com/tag/tips" title="Tips" rel="tag">Tips</a></strong><br />

	<ul class="st-related-posts">
	<li><a href="http://www.ucosoft.com/the-simplest-way-to-change-the-row-height-of-clistctrl.html" title="The Simplest way to change the row height of CListCtrl (January 14, 2008)">The Simplest way to change the row height of CListCtrl</a> (0)</li>
	<li><a href="http://www.ucosoft.com/speed-up-loading-of-pages.html" title="Speed up loading of pages (November 21, 2006)">Speed up loading of pages</a> (1)</li>
	<li><a href="http://www.ucosoft.com/some-useful-shortcut-of-visual-studio-6.html" title="Some useful shortcut of Visual Studio 6 (November 30, 2006)">Some useful shortcut of Visual Studio 6</a> (0)</li>
	<li><a href="http://www.ucosoft.com/visual-sourcesafe-microsofts-source-destruction-system.html" title="Some comment about Visual SourceSafe (November 21, 2006)">Some comment about Visual SourceSafe</a> (0)</li>
	<li><a href="http://www.ucosoft.com/solution-of-fatal-error-rc1004-unexpected-end-of-file-found.html" title="Solution of fatal error RC1004: unexpected end of file found (November 6, 2007)">Solution of fatal error RC1004: unexpected end of file found</a> (11)</li>
	<li><a href="http://www.ucosoft.com/setup-scim-in-ubuntu-610.html" title="Setup SCIM in Ubuntu 6.10 (December 11, 2006)">Setup SCIM in Ubuntu 6.10</a> (0)</li>
	<li><a href="http://www.ucosoft.com/make-the-code-completion-working-again-in-vc-60.html" title="Make the Code Completion working again in VC++ 6.0 (December 6, 2006)">Make the Code Completion working again in VC++ 6.0</a> (0)</li>
	<li><a href="http://www.ucosoft.com/how-to-launch-an-application-with-admin-privileges-in-vista.html" title="How to launch an Application with Admin privileges in VISTA (March 8, 2007)">How to launch an Application with Admin privileges in VISTA</a> (0)</li>
	<li><a href="http://www.ucosoft.com/how-to-get-the-primary-domain-name.html" title="How to Get the Primary Domain name (January 3, 2007)">How to Get the Primary Domain name</a> (0)</li>
	<li><a href="http://www.ucosoft.com/how-to-enable-profile-in-vc-6.html" title="How to enable &#8220;profile&#8221; in Visual C++ 6.0 (December 28, 2006)">How to enable &#8220;profile&#8221; in Visual C++ 6.0</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ucosoft.com/65.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
