<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : URL highlighting in CXTPPropertyGridItem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : URL highlighting in CXTPPropertyGridItem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 05:43:02 +0000</pubDate>
  <lastBuildDate>Tue, 17 Apr 2012 06:33:45 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=19587</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[URL highlighting in CXTPPropertyGridItem : Hi thereThanks very much for your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19587&amp;PID=68002&amp;title=url-highlighting-in-cxtppropertygriditem#68002</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6141">ericchubb</a><br /><strong>Subject:</strong> 19587<br /><strong>Posted:</strong> 17 April 2012 at 6:33am<br /><br />Hi there<div><br></div><div>Thanks very much for your suggestion - it turns out we decided to just override&nbsp;OnLButtonDblClk for our&nbsp;CXTPPropertyGridItem-derived class and present a dialog which the user can paste a URL into, then assigning the value to the text in the grid item. Your code may prove very useful for a future feature we have in mind.</div><div><br></div><div>Thanks again</div><div>Eric</div>]]>
   </description>
   <pubDate>Tue, 17 Apr 2012 06:33:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19587&amp;PID=68002&amp;title=url-highlighting-in-cxtppropertygriditem#68002</guid>
  </item> 
  <item>
   <title><![CDATA[URL highlighting in CXTPPropertyGridItem : One way to implement hyperlinks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19587&amp;PID=67958&amp;title=url-highlighting-in-cxtppropertygriditem#67958</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5973">dleibold</a><br /><strong>Subject:</strong> 19587<br /><strong>Posted:</strong> 05 April 2012 at 10:29am<br /><br /><DIV>One way to implement hyperlinks in the property grid values is to&nbsp;add a CXTPPropertyGridInplaceButton to the inplace buttons of the CXTPPropertyGridItem (pItem); the inplace button has a SetHyperlink() option, then button caption is set to the URL, something like this:</DIV><DIV>&nbsp;</DIV><DIV>CString strURL = "<a href="http://www.codejock.com" target="_blank">http://www.codejock.com</A>";</DIV><DIV>CXTPPropertyGridInplaceButton* pBtn = pItem-&gt;GetInplaceButtons()-&gt;AddButton(new CXTPPropertyGridInplaceButton(1))</DIV><DIV>pBtn-&gt;SetHyperlink();</DIV><DIV>pBtn-&gt;SetShowAlways(TRUE);</DIV><DIV>pBtn-&gt;SetAlignment(DT_LEFT);</DIV><DIV><DIV>pBtn-&gt;SetCaption(strURL);</DIV><DIV>&nbsp;</DIV></DIV><DIV>Then handle the notification for XTP_PGN_INPLACEBUTTONDOWN, test for the proper item ID, then add statements to launch a browser with the URL (e.g. from strURL or button caption).</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 05 Apr 2012 10:29:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19587&amp;PID=67958&amp;title=url-highlighting-in-cxtppropertygriditem#67958</guid>
  </item> 
  <item>
   <title><![CDATA[URL highlighting in CXTPPropertyGridItem : Hi thereAn application I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19587&amp;PID=67829&amp;title=url-highlighting-in-cxtppropertygriditem#67829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6141">ericchubb</a><br /><strong>Subject:</strong> 19587<br /><strong>Posted:</strong> 20 March 2012 at 12:54pm<br /><br />Hi there<div><br></div><div>An application I'm working makes heavy use of subclassed derivatives of&nbsp;<span style="font-family: 'Courier New'; font-size: 13px; line-height: 18px; ">CXTPPropertyGrid </span><span style="font-size: 13px; line-height: 18px; ">and</span>&nbsp;<span style=": white; font-family: 'Courier New'; font-size: 13px; ">CXTPPropertyGridItem</span><span style=": white; font-size: 13px; ">&nbsp;objects, and I want the property grid to highlight URIs contained in property grid item text and perform an action such as launching a web browser when a user clicks on them. Is there any way to add text to a property grid item, as a URI, and associating an action with it like launching a browser?</span></div><div><span style=": white; font-size: 13px; "><br></span></div><div><span style=": white; font-size: 13px; ">Thanks</span></div>]]>
   </description>
   <pubDate>Tue, 20 Mar 2012 12:54:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19587&amp;PID=67829&amp;title=url-highlighting-in-cxtppropertygriditem#67829</guid>
  </item> 
 </channel>
</rss>