Click here to Skip to main content
15,914,165 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to find all images in a directory... Pin
Judah Gabriel Himango28-Apr-05 6:37
sponsorJudah Gabriel Himango28-Apr-05 6:37 
GeneralRe: How to find all images in a directory... Pin
Member 14184542-May-05 11:23
Member 14184542-May-05 11:23 
GeneralMultiline inside of a ListView Pin
Fragging27-Apr-05 8:20
Fragging27-Apr-05 8:20 
GeneralRe: Multiline inside of a ListView Pin
Anonymous27-Apr-05 14:24
Anonymous27-Apr-05 14:24 
GeneralRe: Multiline inside of a ListView Pin
Fragging28-Apr-05 0:43
Fragging28-Apr-05 0:43 
GeneralRe: Multiline inside of a ListView Pin
Carl Mercier28-Apr-05 2:07
Carl Mercier28-Apr-05 2:07 
GeneralRe: Multiline inside of a ListView Pin
Fragging28-Apr-05 3:14
Fragging28-Apr-05 3:14 
Generallistbox horizontal scroll maximum size Pin
Kwai Cheng Kane27-Apr-05 8:17
Kwai Cheng Kane27-Apr-05 8:17 
I am using:

Visual Studio 2003
C#
.NET

I have a program which uses a standard ListBox to display a list of text strings that are dynamically generated by the program, using data pulled from a database and export to a csv file, and also echoed to the listbox. Under certain circumstances, the text strings are so long that I get what looks like "word wrap" in the list box and the horizontal scroll bar positions incorrectly when I scroll horizontally beyond about half way across. When I debug, the text length in one case shows the longest text line length being loaded into the listbox as 8222 characters and the "MeasureString()" width value for it is 82596 px. Loading this value into the HorizontalExtent property seems to make no difference.

1. what could be happening here? Is it something that can be adjusted or is it a limitation of the listbox?

2. is there a limit to the maximum text line length displayable in a listbox?

3. if so, is this limit adjustable?

GeneralFonts Character Widths Pin
Simon Wren27-Apr-05 6:13
professionalSimon Wren27-Apr-05 6:13 
GeneralRe: Fonts Character Widths Pin
leppie27-Apr-05 14:56
leppie27-Apr-05 14:56 
GeneralRe: Fonts Character Widths Pin
Werdna27-Apr-05 19:18
Werdna27-Apr-05 19:18 
GeneralUsing .Net 2 class library in vs 2003 project Pin
Anonymous27-Apr-05 5:35
Anonymous27-Apr-05 5:35 
GeneralRe: Using .Net 2 class library in vs 2003 project Pin
Marc Clifton27-Apr-05 5:42
mvaMarc Clifton27-Apr-05 5:42 
Questiondynamically loading windows control libraries?? Pin
lestard27-Apr-05 5:33
lestard27-Apr-05 5:33 
AnswerRe: dynamically loading windows control libraries?? Pin
Marc Clifton27-Apr-05 5:39
mvaMarc Clifton27-Apr-05 5:39 
AnswerRe: dynamically loading windows control libraries?? Pin
rudy.net27-Apr-05 9:42
rudy.net27-Apr-05 9:42 
Questionhow to check if a path is valid? Pin
bouli27-Apr-05 5:07
bouli27-Apr-05 5:07 
AnswerRe: how to check if a path is valid? Pin
MoustafaS27-Apr-05 5:31
MoustafaS27-Apr-05 5:31 
AnswerRe: how to check if a path is valid? Pin
turbochimp27-Apr-05 5:31
turbochimp27-Apr-05 5:31 
AnswerRe: how to check if a path is valid? Pin
Judah Gabriel Himango27-Apr-05 7:20
sponsorJudah Gabriel Himango27-Apr-05 7:20 
GeneralRe: how to check if a path is valid? Pin
bouli27-Apr-05 11:42
bouli27-Apr-05 11:42 
QuestionHow do i enable visual themes on explorer,exe without going through display properties Pin
FocusedWolf27-Apr-05 5:03
FocusedWolf27-Apr-05 5:03 
QuestionTypeLoadException… reason? Pin
anderslundsgard27-Apr-05 4:55
anderslundsgard27-Apr-05 4:55 
GeneralSecure FTP Pin
Robert M Greene27-Apr-05 3:54
Robert M Greene27-Apr-05 3:54 
GeneralRe: Secure FTP Pin
Marc Clifton27-Apr-05 6:05
mvaMarc Clifton27-Apr-05 6:05 

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.