<?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 Re: EnableExtendedMouseEvents disabled by SuspendTimerCallbacks in LabWindows/CVI</title>
    <link>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280467#M19087</link>
    <description>&lt;DIV&gt;I&amp;nbsp;thought that&amp;nbsp;might be&amp;nbsp;the problem, but wasn't sure if this was a bug or intentional.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;My original assumption with the SuspendTimerCallbacks function only affected timers controls&amp;nbsp;in the user interface.&amp;nbsp; The documentation for that function is vague concerning this.&amp;nbsp; I was able to get around this by setting the enable attribute of the timer control.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for your reply.&lt;/DIV&gt;</description>
    <pubDate>Fri, 21 Oct 2005 21:50:15 GMT</pubDate>
    <dc:creator>cpoore</dc:creator>
    <dc:date>2005-10-21T21:50:15Z</dc:date>
    <item>
      <title>EnableExtendedMouseEvents disabled by SuspendTimerCallbacks</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280003#M19063</link>
      <description>&lt;DIV&gt;Using CVI 7.1.1, the EnableExtendedMouseEvents is disabled whenever I call the SuspendTimerCallbacks function.&amp;nbsp; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;i.e. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;int CVICALLBACK PlotEvent (int panel, int control, int event, void *callbackData,&amp;nbsp;int eventData1, int eventData2)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (event == EVENT_LEFT_MOUSE_UP)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;// wait for UIF to update &lt;BR /&gt;&amp;nbsp;&amp;nbsp;PostDeferredCall (GetCursorData, 0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;}// end if (event)&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;return 0;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;}// end PlotEvent&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Oct 2005 21:42:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280003#M19063</guid>
      <dc:creator>cpoore</dc:creator>
      <dc:date>2005-10-20T21:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: EnableExtendedMouseEvents disabled by SuspendTimerCallbacks</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280289#M19076</link>
      <description>&lt;P&gt;The implementation of extended mouse events relies on timer controls to work. If you are curious, you can&amp;nbsp;verify this&amp;nbsp;in &amp;lt;CVI71&amp;gt;\toolslib\toolbox\toolbox.c.&lt;/P&gt;
&lt;P&gt;Instead of suspending all timers, could you accomplish the same goal by setting some flag that causes your own timer callbacks to not do anything?&lt;/P&gt;
&lt;P&gt;Luis&lt;BR /&gt;NI&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2005 15:15:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280289#M19076</guid>
      <dc:creator>LuisG</dc:creator>
      <dc:date>2005-10-21T15:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: EnableExtendedMouseEvents disabled by SuspendTimerCallbacks</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280467#M19087</link>
      <description>&lt;DIV&gt;I&amp;nbsp;thought that&amp;nbsp;might be&amp;nbsp;the problem, but wasn't sure if this was a bug or intentional.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;My original assumption with the SuspendTimerCallbacks function only affected timers controls&amp;nbsp;in the user interface.&amp;nbsp; The documentation for that function is vague concerning this.&amp;nbsp; I was able to get around this by setting the enable attribute of the timer control.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for your reply.&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Oct 2005 21:50:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280467#M19087</guid>
      <dc:creator>cpoore</dc:creator>
      <dc:date>2005-10-21T21:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: EnableExtendedMouseEvents disabled by SuspendTimerCallbacks</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280581#M19088</link>
      <description>&lt;P&gt;It is true SuspendTimerCallbacks only affects timer controls in the User Interface library. What might not be very clear, however, is that much of the Programmer's Toolbox is implemented on top of the User Interface library, so it too is affected by any global settings of the library. You're correct in that we should probably make this a bit more clear.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Luis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 22 Oct 2005 20:14:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/EnableExtendedMouseEvents-disabled-by-SuspendTimerCallbacks/m-p/280581#M19088</guid>
      <dc:creator>LuisG</dc:creator>
      <dc:date>2005-10-22T20:14:24Z</dc:date>
    </item>
  </channel>
</rss>

