<?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: How to set a cursor in a dialog? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-cursor-in-a-dialog/m-p/159566#M5935</link>
    <description>Hi Paul, &lt;BR /&gt;
 &lt;BR /&gt;
Here is an example to show you how to set your custom cursor: &lt;BR /&gt;
 
&lt;PRE&gt;/* To your Fix.grc resource: */ 
 
'GCSR'	32680	"Open hand cursor" { 
		   "HandBig"	/* your picture name, so HandBig.bmp should be placed into the Images folder next to this Fix grc */ 
		   9	10		/* the cursor position in the picture */ 
		   0	128	128 
}  
 
/* To your source code: */ 
 
UISetCursor (ACAPI_GetOwnResModule (), 32680);		// DG.h should be included&lt;/PRE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
As far as I know this works not only in DG_MSG_MOUSEMOVE message.&lt;BR /&gt;
 &lt;BR /&gt;
Best Regards, &lt;BR /&gt;
Tibor</description>
    <pubDate>Mon, 12 May 2014 08:10:43 GMT</pubDate>
    <dc:creator>Tibor Lorantfy</dc:creator>
    <dc:date>2014-05-12T08:10:43Z</dc:date>
    <item>
      <title>How to set a cursor in a dialog?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-cursor-in-a-dialog/m-p/159565#M5934</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi&lt;BR /&gt;&lt;BR /&gt;The documentation indicates that a custom form cursor can be set in the DG_MSG_MOUSEMOVE message. What is the mechanism to set a custom form cursor pls?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Paul&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Aug 2023 13:59:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-cursor-in-a-dialog/m-p/159565#M5934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-01T13:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a cursor in a dialog?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-cursor-in-a-dialog/m-p/159566#M5935</link>
      <description>Hi Paul, &lt;BR /&gt;
 &lt;BR /&gt;
Here is an example to show you how to set your custom cursor: &lt;BR /&gt;
 
&lt;PRE&gt;/* To your Fix.grc resource: */ 
 
'GCSR'	32680	"Open hand cursor" { 
		   "HandBig"	/* your picture name, so HandBig.bmp should be placed into the Images folder next to this Fix grc */ 
		   9	10		/* the cursor position in the picture */ 
		   0	128	128 
}  
 
/* To your source code: */ 
 
UISetCursor (ACAPI_GetOwnResModule (), 32680);		// DG.h should be included&lt;/PRE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
As far as I know this works not only in DG_MSG_MOUSEMOVE message.&lt;BR /&gt;
 &lt;BR /&gt;
Best Regards, &lt;BR /&gt;
Tibor</description>
      <pubDate>Mon, 12 May 2014 08:10:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-cursor-in-a-dialog/m-p/159566#M5935</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2014-05-12T08:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a cursor in a dialog?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-cursor-in-a-dialog/m-p/159567#M5936</link>
      <description>Thanks Tibor - this works well.  (Took me a long to to get around to implementing it).&lt;BR /&gt;
&lt;BR /&gt;
Paul</description>
      <pubDate>Tue, 04 Nov 2014 04:06:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-cursor-in-a-dialog/m-p/159567#M5936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T04:06:09Z</dc:date>
    </item>
  </channel>
</rss>

