Click here to Skip to main content
15,904,024 members
Home / Discussions / C#
   

C#

 
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 | :)


GeneralRe: RichTextField control issue Pin
Blubbo2-Jul-07 5:29
Blubbo2-Jul-07 5:29 
Questionsort hashtable Pin
arkiboys2-Jul-07 2:51
arkiboys2-Jul-07 2:51 
AnswerRe: sort hashtable Pin
Luc Pattyn2-Jul-07 3:04
sitebuilderLuc Pattyn2-Jul-07 3:04 
GeneralRe: sort hashtable Pin
arkiboys2-Jul-07 4:11
arkiboys2-Jul-07 4:11 
GeneralRe: sort hashtable Pin
Luc Pattyn2-Jul-07 4:21
sitebuilderLuc Pattyn2-Jul-07 4:21 
AnswerRe: sort hashtable Pin
leppie2-Jul-07 3:57
leppie2-Jul-07 3:57 
Questionhow to change this in C# ? Pin
LyBun2-Jul-07 2:34
LyBun2-Jul-07 2:34 
AnswerRe: how to change this in C# ? Pin
Colin Angus Mackay2-Jul-07 2:48
Colin Angus Mackay2-Jul-07 2:48 
AnswerRe: how to change this in C# ? Pin
Luc Pattyn2-Jul-07 3:08
sitebuilderLuc Pattyn2-Jul-07 3:08 
GeneralRe: how to change this in C# ? Pin
Martin#2-Jul-07 3:19
Martin#2-Jul-07 3:19 
GeneralRe: how to change this in C# ? Pin
Luc Pattyn2-Jul-07 3:29
sitebuilderLuc Pattyn2-Jul-07 3:29 
GeneralRe: how to change this in C# ? Pin
Martin#2-Jul-07 3:32
Martin#2-Jul-07 3:32 
GeneralRe: how to change this in C# ? Pin
Luc Pattyn2-Jul-07 3:54
sitebuilderLuc Pattyn2-Jul-07 3:54 
QuestionHow to read the words from a pdf? Pin
Tomerland2-Jul-07 2:19
Tomerland2-Jul-07 2:19 
AnswerRe: How to read the words from a pdf? Pin
CPallini2-Jul-07 3:43
mveCPallini2-Jul-07 3:43 
QuestionDataGrid paging not working Pin
Jax_qqq2-Jul-07 1:26
Jax_qqq2-Jul-07 1:26 
QuestionLine code Pin
merwa2-Jul-07 1:16
merwa2-Jul-07 1:16 

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.