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

.NET (Core and Framework)

 
GeneralRe: How does Application.DoEvents work? Pin
Spectre_0018-Sep-10 4:18
Spectre_0018-Sep-10 4:18 
GeneralRe: How does Application.DoEvents work? Pin
Luc Pattyn8-Sep-10 4:30
sitebuilderLuc Pattyn8-Sep-10 4:30 
AnswerRe: How does Application.DoEvents work? Pin
Guy Harwood8-Sep-10 2:05
Guy Harwood8-Sep-10 2:05 
GeneralRe: How does Application.DoEvents work? Pin
Mike Devenney8-Sep-10 2:49
Mike Devenney8-Sep-10 2:49 
AnswerRe: How does Application.DoEvents work? Pin
Patrick Fox8-Sep-10 5:41
Patrick Fox8-Sep-10 5:41 
AnswerRe: How does Application.DoEvents work? Pin
Fabio Franco8-Sep-10 6:15
professionalFabio Franco8-Sep-10 6:15 
GeneralRe: How does Application.DoEvents work? [modified] Pin
the Kris8-Sep-10 8:29
the Kris8-Sep-10 8:29 
GeneralRe: How does Application.DoEvents work? Pin
Fabio Franco8-Sep-10 8:38
professionalFabio Franco8-Sep-10 8:38 
That's exactly what I meant, for example, if our heavy processing code is inside DispatchMessage, it might simply do "Goto address 1" as exemplified below and push the current address on the stack so it can be popped after the goto call finishes:

   MessagePump()
   {
      while ( true )
      {
Adr 1    Message msg = GetMessage();  // Get the next message from the queue
Adr 2    DispatchMessage( msg );  // This will do the work
Adr 3    if ( msg.Msg == WM_QUIT ) break;
      }
   }


Again, that's how I think it works.
AnswerRe: How does Application.DoEvents work? Pin
englebart8-Sep-10 8:46
professionalenglebart8-Sep-10 8:46 
AnswerRe: How does Application.DoEvents work? Pin
Scott Barbour8-Sep-10 10:08
Scott Barbour8-Sep-10 10:08 
GeneralRe: How does Application.DoEvents work? Pin
MicroVirus10-Sep-10 12:41
MicroVirus10-Sep-10 12:41 
QuestionCalendarExtender popup appearing when Enter key is pressed Pin
dev_asp_shreshtha6-Sep-10 1:09
dev_asp_shreshtha6-Sep-10 1:09 
AnswerRe: CalendarExtender popup appearing when Enter key is pressed Pin
Pete O'Hanlon6-Sep-10 1:30
mvePete O'Hanlon6-Sep-10 1:30 
QuestionNot able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 6:43
Aseem Sharma5-Sep-10 6:43 
AnswerCross post/re-post Pin
Not Active5-Sep-10 7:14
mentorNot Active5-Sep-10 7:14 
QuestionLoad image problem Pin
Mehdi Ghiasi3-Sep-10 5:05
Mehdi Ghiasi3-Sep-10 5:05 
AnswerRe: Load image problem Pin
Dave Kreskowiak3-Sep-10 6:29
mveDave Kreskowiak3-Sep-10 6:29 
AnswerRe: Load image problem Pin
Luc Pattyn3-Sep-10 6:48
sitebuilderLuc Pattyn3-Sep-10 6:48 
QuestionRe: Load image problem [modified] Pin
Mehdi Ghiasi3-Sep-10 15:09
Mehdi Ghiasi3-Sep-10 15:09 
AnswerRe: Load image problem Pin
Dave Kreskowiak3-Sep-10 18:17
mveDave Kreskowiak3-Sep-10 18:17 
QuestionHow to deploy an application along with .net framework Pin
NarVish3-Sep-10 2:13
NarVish3-Sep-10 2:13 
AnswerRe: How to deploy an application along with .net framework Pin
Not Active3-Sep-10 2:22
mentorNot Active3-Sep-10 2:22 
GeneralRe: How to deploy an application along with .net framework Pin
NarVish3-Sep-10 3:16
NarVish3-Sep-10 3:16 
GeneralRe: How to deploy an application along with .net framework Pin
Not Active3-Sep-10 4:05
mentorNot Active3-Sep-10 4:05 
GeneralRe: How to deploy an application along with .net framework Pin
NarVish5-Sep-10 19:37
NarVish5-Sep-10 19:37 

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.