Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
Question'Access' a protected Access 97 database with Access 2003 Installed Pin
ndavie21-Apr-06 15:07
ndavie21-Apr-06 15:07 
QuestionComparing Images Pin
clickman21-Apr-06 12:41
clickman21-Apr-06 12:41 
AnswerRe: Comparing Images Pin
eclipse2k122-Apr-06 10:42
eclipse2k122-Apr-06 10:42 
QuestionRead strings between delimiters Pin
kani9821-Apr-06 11:28
kani9821-Apr-06 11:28 
AnswerRe: Read strings between delimiters Pin
Ravi Bhavnani21-Apr-06 11:31
professionalRavi Bhavnani21-Apr-06 11:31 
AnswerRe: Read strings between delimiters Pin
Guffa21-Apr-06 12:55
Guffa21-Apr-06 12:55 
AnswerRe: Read strings between delimiters Pin
sujithkumarsl22-Apr-06 16:47
sujithkumarsl22-Apr-06 16:47 
QuestionHaving a max line count in a list control Pin
BambooMoon21-Apr-06 11:25
BambooMoon21-Apr-06 11:25 
I have some applications that currently use a list control to display status messages from the process. As time goes by, the number of messages in the list would grow without bounds if I did not limit it. I do this by checking if adding a new message will make the line count go over the configured maximum. If so, I delete the first line in the control and then add my new line. There is no real need for the user to interact with the list other than to read it, possibly using the scroll bar. The list control has one column, wide enough for a reasonable length message.

The difficulty with this is that it causes a lot of flashing of the control, whether or not I ensure that the newly added line is visible. If messages are rapidly being added to the list, the list can go completely blank for periods of time while tons of updating is going on.

So what is a better way? I'm open to anything, particularly to using something other than a list control. Essentially, I'm trying to mimic how a read-only command prompt window works. Once it gets a certain number of lines in it, new lines cause old lines to disappear, with no annoying flicker.

Thanks in advance.
AnswerRe: Having a max line count in a list control Pin
Ravi Bhavnani21-Apr-06 11:30
professionalRavi Bhavnani21-Apr-06 11:30 
QuestionObserver Pattern Pin
martin_hughes21-Apr-06 11:07
martin_hughes21-Apr-06 11:07 
AnswerRe: Observer Pattern Pin
Ravi Bhavnani21-Apr-06 11:26
professionalRavi Bhavnani21-Apr-06 11:26 
GeneralRe: Observer Pattern Pin
martin_hughes21-Apr-06 11:51
martin_hughes21-Apr-06 11:51 
General64 bit / IME / WindowsHook problem Pin
Daniel Grunwald21-Apr-06 10:11
Daniel Grunwald21-Apr-06 10:11 
GeneralRe: 64 bit / IME / WindowsHook problem Pin
LongRange.Shooter21-Apr-06 15:02
LongRange.Shooter21-Apr-06 15:02 
GeneralRe: 64 bit / IME / WindowsHook problem Pin
Daniel Grunwald22-Apr-06 2:06
Daniel Grunwald22-Apr-06 2:06 
QuestionSwitching from DG tp DGV !!!???!!!???!!!??? Pin
mrkeivan21-Apr-06 9:44
mrkeivan21-Apr-06 9:44 
AnswerRe: Switching from DG tp DGV !!!???!!!???!!!??? Pin
Josh Smith21-Apr-06 10:04
Josh Smith21-Apr-06 10:04 
QuestionHow to find what file/s was selected by mouse? Pin
FocusedWolf21-Apr-06 8:35
FocusedWolf21-Apr-06 8:35 
AnswerRe: How to find what file/s was selected by mouse? Pin
Paul Brower21-Apr-06 10:14
Paul Brower21-Apr-06 10:14 
AnswerRe: How to find what file/s was selected by mouse? Pin
John C. Doe21-Apr-06 14:09
John C. Doe21-Apr-06 14:09 
AnswerRe: How to find what file/s was selected by mouse? Pin
John C. Doe21-Apr-06 14:11
John C. Doe21-Apr-06 14:11 
QuestionUsing CollectionBase Pin
JuanAlbertoMD21-Apr-06 8:06
JuanAlbertoMD21-Apr-06 8:06 
AnswerRe: Using CollectionBase Pin
Josh Smith21-Apr-06 10:09
Josh Smith21-Apr-06 10:09 
QuestionHow to add textbox or combobox to toolbar Pin
pliu_200021-Apr-06 7:40
pliu_200021-Apr-06 7:40 
AnswerRe: How to add textbox or combobox to toolbar Pin
Ravi Bhavnani21-Apr-06 8:13
professionalRavi Bhavnani21-Apr-06 8:13 

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.