<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Animated Cursor in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808014#M41185</link>
    <description>&lt;DIV&gt;What is the best way to animatea cursor in FORTRAN? I'm trying to find references to animating a cursor, but I haven't found anything in either of the books that I have at hand. Does anyone have any recommended sources or suggestions for animating a cursor?&lt;/DIV&gt;</description>
    <pubDate>Sat, 13 Nov 2004 03:23:16 GMT</pubDate>
    <dc:creator>marshallc</dc:creator>
    <dc:date>2004-11-13T03:23:16Z</dc:date>
    <item>
      <title>Animated Cursor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808014#M41185</link>
      <description>&lt;DIV&gt;What is the best way to animatea cursor in FORTRAN? I'm trying to find references to animating a cursor, but I haven't found anything in either of the books that I have at hand. Does anyone have any recommended sources or suggestions for animating a cursor?&lt;/DIV&gt;</description>
      <pubDate>Sat, 13 Nov 2004 03:23:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808014#M41185</guid>
      <dc:creator>marshallc</dc:creator>
      <dc:date>2004-11-13T03:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Cursor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808015#M41186</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;CASE (WM_TIMER)
   nframe = nframe + 1
   IF (nframe &amp;gt; max_frames) nframe = 1  ! circular progression
   lret = SetCursor (LoadCursor(NULL, cursorimage(nframe)))
   lret = SetTimer (hwnd, 1, frame_interval, NULL)
   res = 1

&lt;/PRE&gt;
&lt;DIV&gt;&lt;/DIV&gt;This is a bit crude (I can immediately think of likely circumstances in which the animation would look jerky due to processer loading resulting in uneven frame rates), but may be all you need.
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 13 Nov 2004 07:12:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808015#M41186</guid>
      <dc:creator>Paul_Curtis</dc:creator>
      <dc:date>2004-11-13T07:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Cursor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808016#M41187</link>
      <description>&lt;DIV&gt;(The intel web editor really sucks, ate most of my post. It seems the src editor feature is really unreliable.)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;What preceded my code sample was a suggestion that &lt;U&gt;none of the available fortran-oriented text tell you squat about Win32 programming, they're all worthless wastes of time&lt;/U&gt;. What you need to do is sit down with &lt;STRONG&gt;Petzold&lt;/STRONG&gt;, translate his examples into F90 and work with them for about 8 months, and you'll be there. This appears to be how everyone learns Windows programming, has nothing to do with whatever language you use.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;For an animated cursor, you would presumably createin advance a set of cursor images, and then use a timer to pingthe proc at the frame-change interval so thecursor can be updated to the next frame, in a circular sequence.&lt;/DIV&gt;</description>
      <pubDate>Sat, 13 Nov 2004 07:18:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808016#M41187</guid>
      <dc:creator>Paul_Curtis</dc:creator>
      <dc:date>2004-11-13T07:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Animated Cursor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808017#M41188</link>
      <description>&lt;DIV&gt;Paul you overcomplicated it -- there's no need to do anything special (like WM_TIMER) for an animated cursorcompared witha normal cursor in an application. Thus, a LoadCursor plus handling WM_SETCURSOR will do (just tried it). The animated cursor (.ani) can be included as a resource, like an ordinary .cur file. Just tried it with "banana.ani" from standard Windows set:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;// MyApp.rc
IDCUR_BANANA       CURSOR DISCARDABLE "C:WinntCursorsbanana.ani"
&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The only gotcha is that (as far as I know) VS Resource editor does not allow you to draw one -- you'll probably have to find some 3rd-party tool on the web for it (no, I don't know of any offhand).&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Nov 2004 17:52:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Animated-Cursor/m-p/808017#M41188</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-11-15T17:52:53Z</dc:date>
    </item>
  </channel>
</rss>

