<?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: in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330010#M41484</link>
    <description>You'd think there'd be one quick command to do this - but i couldn't find&lt;BR /&gt;
that one command.  I posted a similar question several times, and never got&lt;BR /&gt;
an answer.&lt;BR /&gt;
&lt;BR /&gt;
Here's what i've come up with.  Create a point filter, or a point monitor&lt;BR /&gt;
(AcEdInputPointFilter, AcEdInputPointMonitor) and make sure it's been added&lt;BR /&gt;
to your current document.  Next, make a call to disableSystemCursorGraphics&lt;BR /&gt;
to turn off the AutoCAD pointer.  Finally, make sure that your point filter&lt;BR /&gt;
or monitor calls SetCursor every time it is executed (anytime the user moves&lt;BR /&gt;
the mouse) to switch the cursor for your desired effect.&lt;BR /&gt;
&lt;BR /&gt;
"DC Deno" &lt;DCDENO&gt; wrote in message&lt;BR /&gt;
news:f0cd5ca.1@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Is this really such a difficult thing? Even in ARX??&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Can anybody hear me? tap tap tap......&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/DCDENO&gt;</description>
    <pubDate>Thu, 04 Apr 2002 10:55:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2002-04-04T10:55:13Z</dc:date>
    <item>
      <title>Foot Wetter - Mouse Pointer</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330007#M41481</link>
      <description>I am developing a full featured AutoCAD Add-in, currently using VBA.&lt;BR /&gt;
&lt;BR /&gt;
For a start, I would like to change the Mouse Pointer, or Icon, to reflect&lt;BR /&gt;
the status of the running VBA Macro.  Does anyone have a quick tip where to&lt;BR /&gt;
set the mouse pointer, or sample that would help me figure it out?&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Dave</description>
      <pubDate>Tue, 02 Apr 2002 18:59:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330007#M41481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-04-02T18:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Foot Wetter - Mouse Pointer</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330008#M41482</link>
      <description>Sorry, let me clarify this.&lt;BR /&gt;
&lt;BR /&gt;
I am trying to fill in the short comings of VBA with ObjectARX or AutoLISP&lt;BR /&gt;
or whatever works. We will be converting entirely to ObjectARX in the&lt;BR /&gt;
future.&lt;BR /&gt;
&lt;BR /&gt;
So to start this process, I would like top figure out how to set a custom&lt;BR /&gt;
Mouse Cursor or Pointer using ObjectARX.&lt;BR /&gt;
&lt;BR /&gt;
Any pointers? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Dave</description>
      <pubDate>Wed, 03 Apr 2002 11:44:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330008#M41482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-04-03T11:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Foot Wetter - Mouse Pointer</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330009#M41483</link>
      <description>Is this really such a difficult thing? Even in ARX??&lt;BR /&gt;
&lt;BR /&gt;
Can anybody hear me? tap tap tap......</description>
      <pubDate>Thu, 04 Apr 2002 09:39:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330009#M41483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-04-04T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330010#M41484</link>
      <description>You'd think there'd be one quick command to do this - but i couldn't find&lt;BR /&gt;
that one command.  I posted a similar question several times, and never got&lt;BR /&gt;
an answer.&lt;BR /&gt;
&lt;BR /&gt;
Here's what i've come up with.  Create a point filter, or a point monitor&lt;BR /&gt;
(AcEdInputPointFilter, AcEdInputPointMonitor) and make sure it's been added&lt;BR /&gt;
to your current document.  Next, make a call to disableSystemCursorGraphics&lt;BR /&gt;
to turn off the AutoCAD pointer.  Finally, make sure that your point filter&lt;BR /&gt;
or monitor calls SetCursor every time it is executed (anytime the user moves&lt;BR /&gt;
the mouse) to switch the cursor for your desired effect.&lt;BR /&gt;
&lt;BR /&gt;
"DC Deno" &lt;DCDENO&gt; wrote in message&lt;BR /&gt;
news:f0cd5ca.1@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Is this really such a difficult thing? Even in ARX??&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Can anybody hear me? tap tap tap......&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/DCDENO&gt;</description>
      <pubDate>Thu, 04 Apr 2002 10:55:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330010#M41484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-04-04T10:55:13Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330011#M41485</link>
      <description>Excellent, thanks for that Justavian.&lt;BR /&gt;
&lt;BR /&gt;
Looks like I'm gonna get a soaker right off the bat &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
I'll still appreciate any other comments.&lt;BR /&gt;
&lt;BR /&gt;
Dave</description>
      <pubDate>Thu, 04 Apr 2002 11:39:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330011#M41485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-04-04T11:39:13Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330012#M41486</link>
      <description>Don't get discouraged.  The AcEdInputPointFilter looks like it's&lt;BR /&gt;
ridiculously complicated, because of all of the arguments being passed to&lt;BR /&gt;
it, but it's not as tough as it seems.  Actually, if all you intend to do is&lt;BR /&gt;
change the cursor, it should be quite easy.  You can use the wizard bar (the&lt;BR /&gt;
ObjectARX Input Point API button) to create a filter for you, and all you&lt;BR /&gt;
should have to do is have some sort of global variable that determines if&lt;BR /&gt;
your custom cursor should be shown (or some other manner of determining&lt;BR /&gt;
that).&lt;BR /&gt;
&lt;BR /&gt;
In the ProcessInputPoint( ) function, simply add the following lines (this&lt;BR /&gt;
assumes that the variable 'ShowCustomCursor' is a global bool....&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
if(ShowCustomCursor)&lt;BR /&gt;
{&lt;BR /&gt;
    // First, disable AutoCAD's default cursor.&lt;BR /&gt;
    // This only needs to be done once, so first check to see if&lt;BR /&gt;
    // it has already been disabled.&lt;BR /&gt;
    if(curDoc()-&amp;gt;inputPointManager()-&amp;gt;systemCursorDisableCount()==0)&lt;BR /&gt;
        curDoc()-&amp;gt;inputPointManager()-&amp;gt;disableSystemCursorGraphics();&lt;BR /&gt;
&lt;BR /&gt;
    // Now you're ready to show your cursor (assuming that&lt;BR /&gt;
    // myCursor is a valid HCURSOR that you previously loaded&lt;BR /&gt;
    // (something like myCursor =&lt;BR /&gt;
acedGetAcadWinApp()-&amp;gt;LoadCursor(IDC_HANDCUR); )&lt;BR /&gt;
    SetCursor(myCursor);&lt;BR /&gt;
&lt;BR /&gt;
}&lt;BR /&gt;
else&lt;BR /&gt;
{&lt;BR /&gt;
    // We should NOT display the custom cursor - make sure the standard&lt;BR /&gt;
    // AutoCAD cursor is on....&lt;BR /&gt;
    if(curDoc()-&amp;gt;inputPointManager()-&amp;gt;systemCursorDisableCount()==1)&lt;BR /&gt;
        curDoc()-&amp;gt;inputPointManager()-&amp;gt;enableSystemCursorGraphics();&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
That's all there is to it!  Again, i'm not sure if this is the best way to&lt;BR /&gt;
do it, but i rely on this quite a bit since i change the cursor in all sorts&lt;BR /&gt;
of different situations.  I guess as long as it works, right?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"DC Deno" &lt;DCDENO&gt; wrote in message&lt;BR /&gt;
news:ACF88428C251CB7189B854B8174F6E5B@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Excellent, thanks for that Justavian.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Looks like I'm gonna get a soaker right off the bat &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I'll still appreciate any other comments.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Dave&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/DCDENO&gt;</description>
      <pubDate>Thu, 04 Apr 2002 13:09:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/330012#M41486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-04-04T13:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/13994293#M44197</link>
      <description>&lt;P&gt;06/08/2012&lt;BR /&gt;Setting the Wait Cursor type using ObjectARX and Win32&lt;BR /&gt;by Fenton Webb&lt;BR /&gt;Sometimes, you want to tell the user that your application is busy and what better way to do that then with an Hour&lt;BR /&gt;Glass wait cursor… Obviously, you can create your own custom cursor and display it using the same technique…&lt;BR /&gt;Here’s how:&lt;BR /&gt;//////////////////////////////////////////////////////////////////////////&lt;BR /&gt;static HHOOK MyHook;&lt;BR /&gt;static HCURSOR hWaitCursor;&lt;BR /&gt;//////////////////////////////////////////////////////////////////////////&lt;BR /&gt;static LRESULT CALLBACK MyMsgProc (int nCode, WPARAM wParam, LPARAM lParam);&lt;BR /&gt;//////////////////////////////////////////////////////////////////////////&lt;BR /&gt;// This is command 'WAITCURSOR, by Fenton Webb [14/10/2004], DevTech, Autodesk&lt;BR /&gt;void asdkWaitCursor()&lt;BR /&gt;{&lt;BR /&gt;// load the Wait cursor&lt;BR /&gt;hWaitCursor = LoadCursor(NULL, IDC_WAIT);&lt;BR /&gt;// and set it&lt;BR /&gt;HCURSOR hCursor = SetCursor(hWaitCursor);&lt;BR /&gt;&lt;BR /&gt;// now set a hook so we can constantly keep our cursor set&lt;BR /&gt;MyHook = SetWindowsHookEx(WH_CALLWNDPROCRET, (HOOKPROC)MyMsgProc, (HINSTANCE)&lt;BR /&gt;NULL, GetCurrentThreadId ());&lt;BR /&gt;// now do the wait intensive task...&lt;BR /&gt;ACHAR cResult [256];&lt;BR /&gt;acedGetString (0, _T("\nPretending to wait : "), cResult);&lt;BR /&gt;&lt;BR /&gt;// and finally clean up&lt;BR /&gt;UnhookWindowsHookEx (MyHook) ;&lt;BR /&gt;&lt;BR /&gt;SetCursor (hCursor) ;&lt;BR /&gt;}&lt;BR /&gt;//////////////////////////////////////////////////////////////////////////&lt;BR /&gt;LRESULT CALLBACK MyMsgProc (int nCode, WPARAM wParam, LPARAM lParam)&lt;BR /&gt;{&lt;BR /&gt;// forward the other hook calls&lt;BR /&gt;if ( nCode &amp;lt; 0 )&lt;BR /&gt;return (CallNextHookEx(MyHook, nCode, wParam, lParam));&lt;BR /&gt;&lt;BR /&gt;LRESULT ret = CallNextHookEx(MyHook, nCode, wParam, lParam);&lt;BR /&gt;&lt;BR /&gt;// keep updating our cursor type&lt;BR /&gt;SetCursor (hWaitCursor);&lt;BR /&gt;&lt;BR /&gt;return (ret) ;&lt;BR /&gt;}&lt;BR /&gt;Posted at 04:13 PM in 2010, 2011, 2012, 2013, AutoCAD, Fenton Webb, ObjectARX | Permalink | Comments (4)&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 15:54:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/foot-wetter-mouse-pointer/m-p/13994293#M44197</guid>
      <dc:creator>yang8570</dc:creator>
      <dc:date>2026-01-28T15:54:20Z</dc:date>
    </item>
  </channel>
</rss>

