<?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 Hyperlink on Modal Dialog in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213366#M6205</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I'm very new in API add-on, I would like to create the simple button to browse to the website, eg. like the hyperlink in HTML. Would you guys please guide me which function I can use for the button on Modal Dialog?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/DIV&gt;</description>
    <pubDate>Thu, 03 Aug 2023 07:53:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-03T07:53:48Z</dc:date>
    <item>
      <title>Hyperlink on Modal Dialog</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213366#M6205</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I'm very new in API add-on, I would like to create the simple button to browse to the website, eg. like the hyperlink in HTML. Would you guys please guide me which function I can use for the button on Modal Dialog?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 07:53:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213366#M6205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-03T07:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink on Modal Dialog</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213367#M6206</link>
      <description>&lt;BLOCKQUOTE&gt;Fern wrote:&lt;BR /&gt;I'm very new in API add-on, I would like to create the simple button to browse to the website, eg. like the hyperlink in HTML. Would you guys please guide me which function I can use for the button on Modal Dialog?&lt;/BLOCKQUOTE&gt;
I'm not sure if you're asking how to make the button work, launch a URL, or both. This is potentially a big subject, so I don't want to describe solutions for problems you've already solved. For example, do you understand how the callback passed to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;DGModalDialog&lt;E&gt;&lt;/E&gt; works, in particular how to respond to a button click?&lt;BR /&gt;
&lt;BR /&gt;
If you simply want to know how to launch the URL, I don't know of an ArchiCAD API function for this. I use the host OS API for this purpose.</description>
      <pubDate>Mon, 16 May 2011 09:29:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213367#M6206</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2011-05-16T09:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink on Modal Dialog</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213368#M6207</link>
      <description>Thanks Ralph for your reply. I simply want a button that can launch to the URL like when we click the button, and it open the web browser and launch to that URL. &lt;BR /&gt;
I knows a bit for the callback function in DGModalDialog, such as DGCALLBACK. Does ArchiCAD API have the callback function to open the web browser when user click on the button.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance</description>
      <pubDate>Tue, 17 May 2011 21:50:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213368#M6207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-17T21:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink on Modal Dialog</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213369#M6208</link>
      <description>&lt;BLOCKQUOTE&gt;Fern wrote:&lt;BR /&gt;I knows a bit for the callback function in DGModalDialog, such as DGCALLBACK. Does ArchiCAD API have the callback function to open the web browser when user click on the button.&lt;/BLOCKQUOTE&gt;
The callback is invoked for a variety of reasons, including the user clicking on a button. You need to detect which event has triggered the callback. When it's a click in the button, you can then request that a browser open the specified URL. I don't know of a function in the ArchiCAD API to open a URL, so you will probably have to use a function in the host OS API.</description>
      <pubDate>Wed, 18 May 2011 18:57:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Hyperlink-on-Modal-Dialog/m-p/213369#M6208</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2011-05-18T18:57:20Z</dc:date>
    </item>
  </channel>
</rss>

