<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: SendMessage - C#</title>
	<atom:link href="http://michaelsync.net/2006/07/04/sendmessage-c/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelsync.net/2006/07/04/sendmessage-c</link>
	<description>Sharing our knowledge</description>
	<pubDate>Tue, 07 Oct 2008 20:15:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: S. Geier</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-57719</link>
		<dc:creator>S. Geier</dc:creator>
		<pubDate>Sat, 26 Apr 2008 13:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-57719</guid>
		<description>Hi,

this is some really spiffy code fragment but I am wondering how to send a Keystroke like "Shift + B" to another application. 

I am aware of the fact that 3 messages have to be send WM_KEYDOWN, WM_CHAR and finally WM_KEYUP to make the application recognize a keystroke... the thing is I dont know how to implement all the virtual codes like ing VK_F5 = 0x74, int VK_E = 0x45 into the SendMessage methode ;(
I have succeeded in sending keys by using C#'s Sendkeys.Send() methode but its kinda limited in serveral ways. For example you cannot broadcast NUMPAD keys because its just not supported (correct me if I am wrong). 

Thanks for your help</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>this is some really spiffy code fragment but I am wondering how to send a Keystroke like &#8220;Shift + B&#8221; to another application. </p>
<p>I am aware of the fact that 3 messages have to be send WM_KEYDOWN, WM_CHAR and finally WM_KEYUP to make the application recognize a keystroke&#8230; the thing is I dont know how to implement all the virtual codes like ing VK_F5 = 0&#215;74, int VK_E = 0&#215;45 into the SendMessage methode ;(<br />
I have succeeded in sending keys by using C#&#8217;s Sendkeys.Send() methode but its kinda limited in serveral ways. For example you cannot broadcast NUMPAD keys because its just not supported (correct me if I am wrong). </p>
<p>Thanks for your help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sync</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-55909</link>
		<dc:creator>Michael Sync</dc:creator>
		<pubDate>Sat, 19 Apr 2008 13:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-55909</guid>
		<description>&gt;&gt;&gt;&gt;i want to know how to send a message through c#

hum? I already wrote in this post, isn't it?</description>
		<content:encoded><![CDATA[<p>>>>>i want to know how to send a message through c#</p>
<p>hum? I already wrote in this post, isn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajan</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-55874</link>
		<dc:creator>rajan</dc:creator>
		<pubDate>Sat, 19 Apr 2008 12:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-55874</guid>
		<description>i want to know how to send a message through c#</description>
		<content:encoded><![CDATA[<p>i want to know how to send a message through c#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sync</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-14409</link>
		<dc:creator>Michael Sync</dc:creator>
		<pubDate>Tue, 27 Nov 2007 06:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-14409</guid>
		<description>&lt;blockquote&gt;
I am using combobox.can any body please explain in how to send message using combo in C#
&lt;/blockquote&gt;

Have you tried this code? 
SendMessage(combobox1.Handle, WM_LBUTTONDOWN, IntPtr.Zero, IntPtr.Zero);  

Note: combobox1 is the name of your combobox.</description>
		<content:encoded><![CDATA[<blockquote><p>
I am using combobox.can any body please explain in how to send message using combo in C#
</p></blockquote>
<p>Have you tried this code?<br />
SendMessage(combobox1.Handle, WM_LBUTTONDOWN, IntPtr.Zero, IntPtr.Zero);  </p>
<p>Note: combobox1 is the name of your combobox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irfan</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-14389</link>
		<dc:creator>irfan</dc:creator>
		<pubDate>Tue, 27 Nov 2007 06:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-14389</guid>
		<description>Hello 
       I am using combobox.can any body please explain in how to send message using combo in C#</description>
		<content:encoded><![CDATA[<p>Hello<br />
       I am using combobox.can any body please explain in how to send message using combo in C#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sync</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-423</link>
		<dc:creator>Michael Sync</dc:creator>
		<pubDate>Fri, 21 Sep 2007 01:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-423</guid>
		<description>Thanks. Dopler.

Kazim, I'm not very familiar with C++ (I know only C++ 3.0 dos version that I learnt at collage.) I will find out about ON_MESSAGE and will let u know..</description>
		<content:encoded><![CDATA[<p>Thanks. Dopler.</p>
<p>Kazim, I&#8217;m not very familiar with C++ (I know only C++ 3.0 dos version that I learnt at collage.) I will find out about ON_MESSAGE and will let u know..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kazim</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-403</link>
		<dc:creator>kazim</dc:creator>
		<pubDate>Thu, 28 Jun 2007 09:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-403</guid>
		<description>Above Send message code is fine as i have written it in the thread and want to send message whenever some data is receieved

How can i make equivlant of C++ in C#
C++ code is given:
ON_MESSAGE(Msg_UpdateM, OnUpdateM)
Msg_updateM is my custom Message
OnUpdate is my function to update some value taken from thread and want to write in User interface

Thanks in advance
Kazim</description>
		<content:encoded><![CDATA[<p>Above Send message code is fine as i have written it in the thread and want to send message whenever some data is receieved</p>
<p>How can i make equivlant of C++ in C#<br />
C++ code is given:<br />
ON_MESSAGE(Msg_UpdateM, OnUpdateM)<br />
Msg_updateM is my custom Message<br />
OnUpdate is my function to update some value taken from thread and want to write in User interface</p>
<p>Thanks in advance<br />
Kazim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anatol</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-368</link>
		<dc:creator>anatol</dc:creator>
		<pubDate>Thu, 31 May 2007 17:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-368</guid>
		<description>Nise site!</description>
		<content:encoded><![CDATA[<p>Nise site!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sync</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-362</link>
		<dc:creator>Michael Sync</dc:creator>
		<pubDate>Tue, 20 Mar 2007 02:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-362</guid>
		<description>&#62;&#62;World is mine,
Oh. really..

&#62;&#62;and yoursite good
Thanks..</description>
		<content:encoded><![CDATA[<p>&gt;&gt;World is mine,<br />
Oh. really..</p>
<p>&gt;&gt;and yoursite good<br />
Thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GramBorder</title>
		<link>http://michaelsync.net/2006/07/04/sendmessage-c#comment-363</link>
		<dc:creator>GramBorder</dc:creator>
		<pubDate>Tue, 20 Mar 2007 01:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/sendmessage-c#comment-363</guid>
		<description>Hi all!

I want to all of you know, World is mine, and yoursite good

Bye</description>
		<content:encoded><![CDATA[<p>Hi all!</p>
<p>I want to all of you know, World is mine, and yoursite good</p>
<p>Bye</p>
]]></content:encoded>
	</item>
</channel>
</rss>
