<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Easy Cursor Management</title>
	<link>http://specialrelativity.org/blog/2007/08/11/easy-cursor-management/</link>
	<description>Michael Avila's blog</description>
	<pubDate>Tue, 06 Jan 2009 20:07:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: vpitts</title>
		<link>http://specialrelativity.org/blog/2007/08/11/easy-cursor-management/#comment-418</link>
		<author>vpitts</author>
		<pubDate>Mon, 10 Mar 2008 17:07:13 +0000</pubDate>
		<guid>http://specialrelativity.org/blog/2007/08/11/easy-cursor-management/#comment-418</guid>
					<description>Nicely done article.  Your sample was really easy to follow and well documented.

I have a slightly different problem.  We have an application that we are building that needs to change the cursor based on a location within a timeline - and not just in response to a MouseEvent.  So at certain times we need a mouse pointer (default cursor) and at other times we need a hand cursor.   

We have been able to change the cursor using the "buttonMode" and "useHandCursor" methods.  The only problem that we have encountered is that if we just let the app run (meaning the timeline is advancing) without interacting at all with the user interface (meaning NO mouse movement or clicks), we can see the cursor change from default (mouse pointer) to hand cursor.  However as the timeline advances, the cursor never changes back UNLESS you move or click the mouse.

We know that the event has fired to change the cursor back.  However its visual appearance does not change without the mouse event.

In other languages there are usually methods to "force" a repaint - something that would cause the cursor to update.

I have tried a few things like "updateAfterEvent" on the triggering event - but I have not been successful in getting the cursor to change.

Do you have any suggestions?  I was thinking about generating a mouse event on our own - maybe?

Thanks</description>
		<content:encoded><![CDATA[<p>Nicely done article.  Your sample was really easy to follow and well documented.</p>
<p>I have a slightly different problem.  We have an application that we are building that needs to change the cursor based on a location within a timeline - and not just in response to a MouseEvent.  So at certain times we need a mouse pointer (default cursor) and at other times we need a hand cursor.   </p>
<p>We have been able to change the cursor using the &#8220;buttonMode&#8221; and &#8220;useHandCursor&#8221; methods.  The only problem that we have encountered is that if we just let the app run (meaning the timeline is advancing) without interacting at all with the user interface (meaning NO mouse movement or clicks), we can see the cursor change from default (mouse pointer) to hand cursor.  However as the timeline advances, the cursor never changes back UNLESS you move or click the mouse.</p>
<p>We know that the event has fired to change the cursor back.  However its visual appearance does not change without the mouse event.</p>
<p>In other languages there are usually methods to &#8220;force&#8221; a repaint - something that would cause the cursor to update.</p>
<p>I have tried a few things like &#8220;updateAfterEvent&#8221; on the triggering event - but I have not been successful in getting the cursor to change.</p>
<p>Do you have any suggestions?  I was thinking about generating a mouse event on our own - maybe?</p>
<p>Thanks</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: vpitts</title>
		<link>http://specialrelativity.org/blog/2007/08/11/easy-cursor-management/#comment-419</link>
		<author>vpitts</author>
		<pubDate>Mon, 10 Mar 2008 17:28:53 +0000</pubDate>
		<guid>http://specialrelativity.org/blog/2007/08/11/easy-cursor-management/#comment-419</guid>
					<description>Right after I posted my last message - I found something that helped me - so now my problems appears to be fixed.  I simply called Mouse.hide() followed immediately Mouse.show() and now the cursor updates it appearance even without a mouse event.  It was your sample though that led me in the right direction.  Thank you.</description>
		<content:encoded><![CDATA[<p>Right after I posted my last message - I found something that helped me - so now my problems appears to be fixed.  I simply called Mouse.hide() followed immediately Mouse.show() and now the cursor updates it appearance even without a mouse event.  It was your sample though that led me in the right direction.  Thank you.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
