<?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 : CXTEditListBox And user Data</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTEditListBox And user Data]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 18:07:39 +0000</pubDate>
  <lastBuildDate>Fri, 06 Apr 2007 08:43:55 +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=6795</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[CXTEditListBox And user Data : Hi,  It sounds weird, but in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6795&amp;PID=21736&amp;title=cxteditlistbox-and-user-data#21736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6795<br /><strong>Posted:</strong> 06 April 2007 at 8:43am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>It sounds weird, but in Windows API there is no way to set text for existed listbox item.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>btw, check CustomizeDlg sample. It used </DIV><DIV>ON_LBN_XT_PREDELETEITEM(IDC_LBOX_TOOLSLIST, OnPreDeleteItem)<BR></DIV><DIV>to delete items.</DIV>]]>
   </description>
   <pubDate>Fri, 06 Apr 2007 08:43:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6795&amp;PID=21736&amp;title=cxteditlistbox-and-user-data#21736</guid>
  </item> 
  <item>
   <title><![CDATA[CXTEditListBox And user Data : Is it not easyer to swap item...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6795&amp;PID=21706&amp;title=cxteditlistbox-and-user-data#21706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 6795<br /><strong>Posted:</strong> 05 April 2007 at 8:00am<br /><br />Is it not easyer to swap item text and item data, instead of delete insert ?<br><br>&nbsp;Jimmy<br><br>]]>
   </description>
   <pubDate>Thu, 05 Apr 2007 08:00:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6795&amp;PID=21706&amp;title=cxteditlistbox-and-user-data#21706</guid>
  </item> 
  <item>
   <title><![CDATA[CXTEditListBox And user Data : Hi,  I think you need move this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6795&amp;PID=21676&amp;title=cxteditlistbox-and-user-data#21676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6795<br /><strong>Posted:</strong> 04 April 2007 at 5:08am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I think you need move this code from DELETEITEM_REFLECT to some OnDestroy.</DIV><DIV>&nbsp;</DIV><DIV>Same DeleteString/InsertString used a lot in code - in OnMoveItemUp/OnMoveItemDown/OnItemBrowse etc.</DIV>]]>
   </description>
   <pubDate>Wed, 04 Apr 2007 05:08:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6795&amp;PID=21676&amp;title=cxteditlistbox-and-user-data#21676</guid>
  </item> 
  <item>
   <title><![CDATA[CXTEditListBox And user Data : Hello,I use CXTEditListBox and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6795&amp;PID=21674&amp;title=cxteditlistbox-and-user-data#21674</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 6795<br /><strong>Posted:</strong> 04 April 2007 at 3:08am<br /><br />Hello,<br><br>I use CXTEditListBox and in the ItemData i store a pointer to a struct.<br>i've subclass CXTEditListBox<br>in ON_WM_DELETEITEM_REFLECT()<br>&nbsp;DeleteItem() i delete the struct.<br><br>But if i rename a item, the OnEndLabelEdit function call<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DWORD_PTR dwData = GetItemData(m_nIndex);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DeleteString(m_nIndex);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InsertString(m_nIndex, m_strItemText);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SetItemData(m_nIndex, dwData);<br>But now in DeleteString the dwData will be destroy.<br>But SetItemData put the deleted Item pointer into the List.<br><br>Any solution to solve this problem ?<br><br>&nbsp;&nbsp;&nbsp; Jimmy<br><br><br><br>]]>
   </description>
   <pubDate>Wed, 04 Apr 2007 03:08:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6795&amp;PID=21674&amp;title=cxteditlistbox-and-user-data#21674</guid>
  </item> 
 </channel>
</rss>