Click here to Skip to main content
16,005,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSimple question which I can't figure out... Pin
James Spibey18-Oct-01 8:09
James Spibey18-Oct-01 8:09 
GeneralRe: Simple question which I can't figure out... Pin
#realJSOP18-Oct-01 8:59
professional#realJSOP18-Oct-01 8:59 
GeneralRe: Simple question which I can't figure out... Pin
Aaron Schaefer18-Oct-01 9:39
Aaron Schaefer18-Oct-01 9:39 
GeneralRe: Simple question which I can't figure out... Pin
PJ Arends18-Oct-01 10:03
professionalPJ Arends18-Oct-01 10:03 
GeneralRe: Simple question which I can't figure out... Pin
#realJSOP18-Oct-01 10:07
professional#realJSOP18-Oct-01 10:07 
GeneralRe: Simple question which I can't figure out... Pin
Mike Burston18-Oct-01 12:51
Mike Burston18-Oct-01 12:51 
GeneralRe: Simple question which I can't figure out... Pin
#realJSOP19-Oct-01 7:48
professional#realJSOP19-Oct-01 7:48 
GeneralCListbox sluggishness under Win CE Pin
18-Oct-01 7:59
suss18-Oct-01 7:59 
Netmeisters,

I have a Pocket PC app which adds several thousand items to a CListBox. At times the items have to be redisplayed in a different order. Currently I am doing this by using CListBox.ResetContent() to remove all the items, CListBox.InitStorage() to allocate memory, and then CListBox.AddString() to add each item.

The problem is that, although this process is instantaneous on the emulator, it takes an annoying amount of time on the actual device. I am wondering if there is any way of optimizing this process to reduce the time it takes to repopulate the list box. My impression is that under desktop Windows an "owner-draw" list box might be used for this purpose, but these are not supported under Windows CE.

Of course, I could rewrite the app so it doesn't actually put thousands of items in the listbox, but I was hoping some other remedy might be available.

Thanks in advance,

Matthew Fleming
GeneralAdding a progress bar to an ATL composite control Pin
scoob18-Oct-01 7:53
scoob18-Oct-01 7:53 
QuestionHow to convert metafile to bitmap Pin
Kannan Kalyanaraman18-Oct-01 4:35
Kannan Kalyanaraman18-Oct-01 4:35 
AnswerRe: How to convert metafile to bitmap Pin
#realJSOP18-Oct-01 4:44
professional#realJSOP18-Oct-01 4:44 
GeneralRe: How to convert metafile to bitmap Pin
Kannan Kalyanaraman18-Oct-01 5:58
Kannan Kalyanaraman18-Oct-01 5:58 
GeneralTimer function preempted Pin
18-Oct-01 4:25
suss18-Oct-01 4:25 
GeneralRe: Timer function preempted Pin
Ravi Bhavnani18-Oct-01 4:33
professionalRavi Bhavnani18-Oct-01 4:33 
GeneralRe: Timer function preempted Pin
Tomasz Sowinski18-Oct-01 4:35
Tomasz Sowinski18-Oct-01 4:35 
GeneralRe: Timer function preempted Pin
18-Oct-01 5:34
suss18-Oct-01 5:34 
GeneralDetermining if a file is running Pin
billb211218-Oct-01 4:02
billb211218-Oct-01 4:02 
GeneralRe: Determining if a file is running Pin
Tomasz Sowinski18-Oct-01 4:08
Tomasz Sowinski18-Oct-01 4:08 
GeneralRe: Determining if a file is running Pin
billb211218-Oct-01 4:21
billb211218-Oct-01 4:21 
GeneralRe: Determining if a file is running Pin
Jörgen Sigvardsson18-Oct-01 4:11
Jörgen Sigvardsson18-Oct-01 4:11 
GeneralSimple Console Question. Pin
The_Server18-Oct-01 3:54
The_Server18-Oct-01 3:54 
GeneralRe: Simple Console Question. Pin
Tomasz Sowinski18-Oct-01 3:59
Tomasz Sowinski18-Oct-01 3:59 
GeneralDelete File Fails Pin
Michael Martin18-Oct-01 3:53
professionalMichael Martin18-Oct-01 3:53 
GeneralRe: Delete File Fails Pin
Tomasz Sowinski18-Oct-01 3:57
Tomasz Sowinski18-Oct-01 3:57 
GeneralRe: Delete File Fails Pin
Michael Martin18-Oct-01 4:07
professionalMichael Martin18-Oct-01 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.