<?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 (v13.4.2)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTEditListBox (v13.4.2)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 29 Apr 2026 07:37:54 +0000</pubDate>
  <lastBuildDate>Thu, 16 Dec 2010 04:21:59 +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=17681</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 (v13.4.2) :  Sorry, you misunderstood me.My...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17681&amp;PID=61863&amp;title=cxteditlistbox-v13-4-2#61863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 17681<br /><strong>Posted:</strong> 16 December 2010 at 4:21am<br /><br />Sorry, you misunderstood me.<br><br>My described bugs raised in multiple selection mode. But this is not support how you write.<br>Single mode works fine.<br>]]>
   </description>
   <pubDate>Thu, 16 Dec 2010 04:21:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17681&amp;PID=61863&amp;title=cxteditlistbox-v13-4-2#61863</guid>
  </item> 
  <item>
   <title><![CDATA[CXTEditListBox (v13.4.2) : Yes, Multiple Selection is not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17681&amp;PID=61861&amp;title=cxteditlistbox-v13-4-2#61861</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17681<br /><strong>Posted:</strong> 16 December 2010 at 3:28am<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Yes, Multiple Selection is not supoprted.<div><br></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">"You cannot move items more than 2 levels up or down" Can't reproduce it with our sample. do you see it with it ?</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">checking&nbsp;&nbsp;<b>LBS_XT_BROWSE&nbsp;</b>thing</span></div></div>]]>
   </description>
   <pubDate>Thu, 16 Dec 2010 03:28:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17681&amp;PID=61861&amp;title=cxteditlistbox-v13-4-2#61861</guid>
  </item> 
  <item>
   <title><![CDATA[CXTEditListBox (v13.4.2) : HelloThis control works fine until...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17681&amp;PID=61840&amp;title=cxteditlistbox-v13-4-2#61840</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 17681<br /><strong>Posted:</strong> 15 December 2010 at 5:12am<br /><br />Hello<br><br>This control works fine until you create this control with flag <b>LBS_EXTENDEDSEL</b>!<br><br>Is this known?<br>In this case, this flag should be removed in Create(...). So it will be more clearly that this flag is not supported.<br><br>If it a unknown problem:<br>- You cannot move items more than 2 levels up or down.<br>- If you use it with flag <b>LBS_XT_BROWSE</b>, following code is executed<br><table width="99%"><tr><td><pre class="BBcode"><br>void CXTEditListBox::OnItemBrowse()<br>{<br>&nbsp;&nbsp;&nbsp; m_nIndex = GetCurSel(); // Current index.<br>&nbsp;&nbsp;&nbsp; int nNewIndex = m_nIndex + 1; // New index.<br><br>&nbsp;&nbsp;&nbsp; // If there is a valid selection made, and the<br>&nbsp;&nbsp;&nbsp; // selection is not the last item and...<br>&nbsp;&nbsp;&nbsp; if ((m_nIndex != LB_ERR) &amp;&amp; (nNewIndex &lt; GetCount()))<br>&nbsp;&nbsp;&nbsp; {<br><font color="#ff0000">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Save the string for the current<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // selection.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CString strCurItem;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GetText(m_nIndex, strCurItem);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Save any item data.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DWORD_PTR dwCurData = GetItemData(m_nIndex);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Remove both the new and current<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // index items...<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DeleteString(m_nIndex);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // then swap and re-insert them into<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // the list box.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InsertString(nNewIndex, strCurItem);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Restore any item data.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SetItemData(nNewIndex, dwCurData);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // Select the item at the new index.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SetCurSel(nNewIndex);<br></font>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; // Set the focus back to the listbox.<br>&nbsp;&nbsp;&nbsp; SetFocus();<br><br>&nbsp;&nbsp;&nbsp; CWnd* pOwner = GetOwner();<br>&nbsp;&nbsp;&nbsp; ASSERT(pOwner);<br><br>&nbsp;&nbsp;&nbsp; // Send notification to owner.<br>&nbsp;&nbsp;&nbsp; if (pOwner) pOwner-&gt;SendMessage( WM_COMMAND, MAKEWPARAM(GetDlgCtrlID(),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LBN_XT_ONBROWSE), (LPARAM)m_hWnd );<br>}<br></pre></td></tr></table><br>What should this code doing?? It is not necessary to swap items. In normal mode, this code don't reach.<br><br>Regards<br>Michael<br>]]>
   </description>
   <pubDate>Wed, 15 Dec 2010 05:12:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17681&amp;PID=61840&amp;title=cxteditlistbox-v13-4-2#61840</guid>
  </item> 
 </channel>
</rss>