Click here to Skip to main content
15,915,019 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Semi-background task on UI thread Pin
Jon Rista23-Jan-09 8:39
Jon Rista23-Jan-09 8:39 
GeneralRe: Semi-background task on UI thread Pin
supercat923-Jan-09 10:03
supercat923-Jan-09 10:03 
GeneralRe: Semi-background task on UI thread Pin
Jon Rista23-Jan-09 11:36
Jon Rista23-Jan-09 11:36 
GeneralRe: Semi-background task on UI thread Pin
supercat923-Jan-09 16:39
supercat923-Jan-09 16:39 
GeneralRe: Semi-background task on UI thread Pin
Jon Rista24-Jan-09 5:46
Jon Rista24-Jan-09 5:46 
GeneralRe: Semi-background task on UI thread Pin
supercat925-Jan-09 8:27
supercat925-Jan-09 8:27 
GeneralRe: Semi-background task on UI thread Pin
N a v a n e e t h23-Jan-09 16:43
N a v a n e e t h23-Jan-09 16:43 
GeneralRe: Semi-background task on UI thread Pin
supercat923-Jan-09 17:43
supercat923-Jan-09 17:43 
In the particular immediate case, I'm thinking about a control that's somewhat like an enhanced ListBox which allows for the possibility of a list item changing height. When the width of the control is changed, its items get a chance to redetermine their height. My plan is to do this first for the items on the screen, and then for everything else; all items would have to be measured to set the scroll bar accurately, but I wouldn't want to hold up the entire UI thread for that.

If the control were an opaque class, it might make sense for the measurement to be done in a background thread. Since it is not, however, it would seem like very poor style to have a background thread call the list contents' measure-item methods which may not be expecting invocation outside the UI thread.
AnswerRe: Semi-background task on UI thread Pin
S. Senthil Kumar24-Jan-09 2:02
S. Senthil Kumar24-Jan-09 2:02 
GeneralRe: Semi-background task on UI thread Pin
supercat924-Jan-09 8:05
supercat924-Jan-09 8:05 
QuestionDictionary database? Pin
C Change23-Jan-09 7:00
C Change23-Jan-09 7:00 
AnswerRe: Dictionary database? Pin
Wendelius23-Jan-09 7:42
mentorWendelius23-Jan-09 7:42 
GeneralRe: Dictionary database? Pin
C Change23-Jan-09 8:14
C Change23-Jan-09 8:14 
GeneralRe: Dictionary database? Pin
Wendelius23-Jan-09 8:27
mentorWendelius23-Jan-09 8:27 
GeneralRe: Dictionary database? Pin
C Change23-Jan-09 8:37
C Change23-Jan-09 8:37 
GeneralRe: Dictionary database? Pin
Wendelius23-Jan-09 8:41
mentorWendelius23-Jan-09 8:41 
AnswerRe: Dictionary database? Pin
PIEBALDconsult23-Jan-09 12:31
mvePIEBALDconsult23-Jan-09 12:31 
AnswerRe: Dictionary database? Pin
PIEBALDconsult23-Jan-09 12:34
mvePIEBALDconsult23-Jan-09 12:34 
GeneralRe: Dictionary database? Pin
C Change25-Jan-09 0:25
C Change25-Jan-09 0:25 
AnswerRe: Dictionary database? Pin
Mark Churchill26-Jan-09 13:52
Mark Churchill26-Jan-09 13:52 
GeneralRe: Dictionary database? Pin
C Change26-Jan-09 23:01
C Change26-Jan-09 23:01 
GeneralRe: Dictionary database? Pin
Mark Churchill26-Jan-09 23:32
Mark Churchill26-Jan-09 23:32 
GeneralRe: Dictionary database? [modified] Pin
C Change27-Jan-09 0:06
C Change27-Jan-09 0:06 
GeneralRe: Dictionary database? Pin
Mark Churchill27-Jan-09 0:47
Mark Churchill27-Jan-09 0:47 
GeneralRe: Dictionary database? [modified] Pin
C Change27-Jan-09 1:26
C Change27-Jan-09 1:26 

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.