Click here to Skip to main content
15,923,226 members
Home / Discussions / C#
   

C#

 
GeneralRe: More than 5000... Pin
DavidNohejl3-Jul-07 7:41
DavidNohejl3-Jul-07 7:41 
GeneralRe: More than 100000... Pin
vytheese2-Jul-07 23:16
professionalvytheese2-Jul-07 23:16 
GeneralRe: More than 100000... Pin
Sean Michael Murphy3-Jul-07 5:01
Sean Michael Murphy3-Jul-07 5:01 
GeneralRe: More than 5000... Pin
PIEBALDconsult3-Jul-07 7:37
mvePIEBALDconsult3-Jul-07 7:37 
GeneralMore than 1000000 [modified] Pin
PIEBALDconsult3-Jul-07 11:50
mvePIEBALDconsult3-Jul-07 11:50 
GeneralRe: More than 5000... Pin
Sean Michael Murphy4-Jul-07 18:36
Sean Michael Murphy4-Jul-07 18:36 
QuestionError in calling a webservice Pin
ramdil2-Jul-07 3:15
ramdil2-Jul-07 3:15 
AnswerRe: Error in calling a webservice Pin
leppie2-Jul-07 3:58
leppie2-Jul-07 3:58 
AnswerRe: Error in calling a webservice Pin
Vasudevan Deepak Kumar2-Jul-07 4:53
Vasudevan Deepak Kumar2-Jul-07 4:53 
QuestionCan't focus TextBox on TabPage Pin
Tavbi2-Jul-07 3:01
Tavbi2-Jul-07 3:01 
AnswerRe: Can't focus TextBox on TabPage Pin
Luc Pattyn2-Jul-07 3:20
sitebuilderLuc Pattyn2-Jul-07 3:20 
GeneralRe: Can't focus TextBox on TabPage Pin
Tavbi2-Jul-07 19:57
Tavbi2-Jul-07 19:57 
GeneralRe: Can't focus TextBox on TabPage Pin
Tavbi2-Jul-07 20:27
Tavbi2-Jul-07 20:27 
AnswerRe: Can't focus TextBox on TabPage Pin
originSH2-Jul-07 3:50
originSH2-Jul-07 3:50 
GeneralRe: Can't focus TextBox on TabPage Pin
Tavbi2-Jul-07 19:33
Tavbi2-Jul-07 19:33 
QuestionRichTextField control issue Pin
Blubbo2-Jul-07 2:56
Blubbo2-Jul-07 2:56 
AnswerRe: RichTextField control issue Pin
Luc Pattyn2-Jul-07 3:11
sitebuilderLuc Pattyn2-Jul-07 3:11 
GeneralRe: RichTextField control issue Pin
Blubbo2-Jul-07 3:13
Blubbo2-Jul-07 3:13 
AnswerRe: RichTextField control issue [modified] Pin
Blubbo2-Jul-07 3:17
Blubbo2-Jul-07 3:17 
GeneralRe: RichTextField control issue Pin
Luc Pattyn2-Jul-07 3:25
sitebuilderLuc Pattyn2-Jul-07 3:25 
GeneralRe: RichTextField control issue Pin
Blubbo2-Jul-07 3:32
Blubbo2-Jul-07 3:32 
GeneralRe: RichTextField control issue Pin
Luc Pattyn2-Jul-07 3:46
sitebuilderLuc Pattyn2-Jul-07 3:46 
AnswerRe: RichTextField control issue Pin
Blubbo2-Jul-07 4:11
Blubbo2-Jul-07 4:11 
GeneralRe: RichTextField control issue Pin
Blubbo2-Jul-07 5:06
Blubbo2-Jul-07 5:06 
GeneralRe: RichTextField control issue Pin
Luc Pattyn2-Jul-07 5:25
sitebuilderLuc Pattyn2-Jul-07 5:25 
GUI design rules include the requirement to be responsive at all times, resulting in a
maximum time any action on the GUI thread is allowed to take (some 10 to 30 msec).
If so, there is no need for DoEvents().

Longer operations should be executed in the background, on a separate thread (or
be chopped into smaller pieces and sequenced somehow, e.g. using timer ticks).

There is a pseudo-solution consisiting of calling DoEvents() once or several times
while inside some long method running on the GUI thread; this allows the GUI to update
itself to some degree, but does not offer full responsiveness, hence it is a hack.

There are other requirements, such as:
lengthy operations should indicate they are running (the bare minimum is a WaitCursor);
lengthy operations should show a decent progress indication (Windows often fails to do
that itself);
lengthy operations should be cancellable.

Of course it is up to the designer how far to carry this; it does influence user's
experience tho.

Smile | :)


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.