<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/bjsupport/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/bjsupport/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/bjsupport/bugs/</id><updated>2006-10-11T05:31:10Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>WTL ListView error</title><link href="https://sourceforge.net/p/bjsupport/bugs/2/" rel="alternate"/><published>2006-10-11T05:31:10Z</published><updated>2006-10-11T05:31:10Z</updated><author><name>invinJerry</name><uri>https://sourceforge.net/u/inivnjerry/</uri></author><id>https://sourceforge.net3fa2e3058dea938e0baac1957d01ce0e335f99f8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using a WTL list control.&lt;br /&gt;
when i use the control with records more than 10000, &lt;br /&gt;
the application gets hang, and it takes too much &lt;br /&gt;
time. Where the same code used with commctrl's &lt;br /&gt;
listview, i have no problem in adding any number of &lt;br /&gt;
records.&lt;/p&gt;
&lt;p&gt;*******************************The code &lt;br /&gt;
snippet************************&lt;br /&gt;
for (DWORD i = 0; i &amp;lt; dwCount; i++) {&lt;br /&gt;
LVITEM lvi = {LVIF_TEXT|LVIF_PARAM}; &lt;br /&gt;
lvi.iItem = i; lvi.lParam = i;&lt;br /&gt;
char text[0x8000]; lvi.pszText = text;&lt;br /&gt;
//State&lt;br /&gt;
lstrcpy(text,pStates[i]);&lt;br /&gt;
lvi.iSubItem = 0; lvi.iItem = (int)SendMessage&lt;br /&gt;
(m_hwndListFiles,LVM_INSERTITEM,NULL,&lt;/p&gt;
&lt;p&gt;(LPARAM)&amp;amp;lvi);&lt;br /&gt;
//Name&lt;br /&gt;
WideCharToMultiByte(CP_ACP,0,pwszNameExt[i],-&lt;br /&gt;
1,text,ARRAYSIZE(text),NULL,NULL);&lt;br /&gt;
lvi.iSubItem = 1; lvi.mask = LVIF_TEXT; &lt;br /&gt;
SendMessage(m_hwndListFiles,LVM_SETITEM,NULL,&lt;/p&gt;
&lt;p&gt;(LPARAM)&amp;amp;lvi);&lt;br /&gt;
//Location&lt;br /&gt;
WideCharToMultiByte(CP_ACP,0,pwszLocation[i],-&lt;br /&gt;
1,text,ARRAYSIZE(text),NULL,NULL);&lt;br /&gt;
lvi.iSubItem = 2; SendMessage&lt;br /&gt;
(m_hwndListFiles,LVM_SETITEM,NULL,(LPARAM)&amp;amp;lvi);&lt;br /&gt;
//Size&lt;br /&gt;
SizeToStr(text,ullSize[i]);&lt;br /&gt;
lvi.iSubItem = 3; SendMessage&lt;br /&gt;
(m_hwndListFiles,LVM_SETITEM,NULL,(LPARAM)&amp;amp;lvi);&lt;br /&gt;
}&lt;br /&gt;
*******************************End of &lt;br /&gt;
code******************************&lt;/p&gt;
&lt;p&gt;When i use this in project where common controls &lt;br /&gt;
{commctrl.h} is used, it works in less than a second &lt;br /&gt;
for 7000 records, but wen used in any VisualStudio &lt;br /&gt;
Environment with WTL, it takes more than 100 seconds.&lt;br /&gt;
Can you help me on this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>WM_ERASEBKGND used for Dialog but Buttons got erased </title><link href="https://sourceforge.net/p/bjsupport/bugs/1/" rel="alternate"/><published>2006-10-10T07:50:55Z</published><updated>2006-10-10T07:50:55Z</updated><author><name>invinJerry</name><uri>https://sourceforge.net/u/inivnjerry/</uri></author><id>https://sourceforge.net5ca83ec83baad70081444259682015817416ed10</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using WTL75 with Visual Studio 2005.&lt;br /&gt;
I have created all the UI controls and it works fine.&lt;br /&gt;
But in XP when when Windows XP theme is enabled the &lt;br /&gt;
button is getting hidden or erased.&lt;/p&gt;
&lt;p&gt;Can you help me on this. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>