<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: How to get cursor coordinates from multiline text box and display listbox their</title><link>http://forums.silverlight.net/forums/thread/86236.aspx</link><pubDate>Wed, 03 Sep 2008 07:01:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:86236</guid><dc:creator>vijchn</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/86236.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=86236</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;Thanks for replay&lt;/p&gt;&lt;p&gt;The following code&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;void&lt;/font&gt;&lt;font size="2"&gt; hlb_MouseEnter(&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font size="2" color="#2b91af"&gt;MouseEventArgs&lt;/font&gt;&lt;font size="2"&gt; e)&lt;/font&gt;&lt;font size="2"&gt; 
&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;{&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;Point position = e.GetPosition(null);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;string a =position.X.toString();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;string&amp;nbsp;b =position.Y.toString();&lt;/p&gt;&lt;p&gt;&amp;nbsp;}&lt;/p&gt;&lt;p&gt;Gives me the mouse cursor position,&lt;/p&gt;&lt;p&gt;But I need the cursor position that blinks in text box&lt;/p&gt;&lt;p&gt;so please give me right suggestion&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to get cursor coordinates from multiline text box and display listbox their</title><link>http://forums.silverlight.net/forums/thread/85999.aspx</link><pubDate>Tue, 02 Sep 2008 12:50:36 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85999</guid><dc:creator>Web_Horse</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85999.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85999</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;HarshBardhan:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I think you want to get cursor position on mouse over of TextBox.(If i am wrong correct me).&lt;/p&gt;
&lt;p&gt;You Can write a MouseEnter/MouseLeftButtonDown/MouseLeftButtonUp Handler for that and Can Get Mouse Position with Respect to that Object Example..(If you will Pass Object as Parameter to GetPositionn method you will get Relative Position)&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;void&lt;/font&gt;&lt;font size="2"&gt; hlb_MouseEnter(&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font size="2" color="#2b91af"&gt;MouseEventArgs&lt;/font&gt;&lt;font size="2"&gt; e)&lt;/font&gt;&lt;font size="2"&gt; 
&lt;/font&gt;&lt;p&gt;&lt;font size="2"&gt;{&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;Point position = e.GetPosition(null);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;string a =position.X.toString();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;string&amp;nbsp;b =position.Y.toString();&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;pre class="libCScode" id="ctl00_rs1_mainContentContainer_ctl117CSharp"&gt;&lt;/pre&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And call this method using MouseMove event.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Bye. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to get cursor coordinates from multiline text box and display listbox their</title><link>http://forums.silverlight.net/forums/thread/85994.aspx</link><pubDate>Tue, 02 Sep 2008 12:47:04 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85994</guid><dc:creator>HarshBardhan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85994.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85994</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I think you want to get cursor position on mouse over of TextBox.(If i am wrong correct me).&lt;/p&gt;
&lt;p&gt;You Can write a MouseEnter/MouseLeftButtonDown/MouseLeftButtonUp Handler for that and Can Get Mouse Position with Respect to that Object Example..(If you will Pass Object as Parameter to GetPositionn method you will get Relative Position)&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; hlb_MouseEnter(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MouseEventArgs&lt;/font&gt;&lt;font size="2"&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;Point position = e.GetPosition(null);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;string a =position.X.toString();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;string&amp;nbsp;b =position.Y.toString();&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;pre class="libCScode" id="ctl00_rs1_mainContentContainer_ctl117CSharp"&gt;&lt;/pre&gt;</description></item><item><title>How to get cursor coordinates from multiline text box and display listbox their</title><link>http://forums.silverlight.net/forums/thread/85983.aspx</link><pubDate>Tue, 02 Sep 2008 12:23:38 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85983</guid><dc:creator>vijchn</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85983.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85983</wfw:commentRss><description>&lt;p&gt;
Hi,&lt;/p&gt;&lt;p&gt;I am working in silverlight 2 beta 2,&lt;/p&gt;&lt;p&gt;I make multiline text box and I want to display list box at&lt;/p&gt;&lt;p&gt;cursor postion,&lt;/p&gt;&lt;p&gt;So how I got the cursor position and how I display the list box at different positions&lt;/p&gt;&lt;p&gt;please give me suggesstion&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>