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

.NET (Core and Framework)

 
GeneralEvent Queuing Question Pin
paulsawyer16-Apr-05 2:27
paulsawyer16-Apr-05 2:27 
GeneralRe: Event Queuing Question Pin
Mike Dimmick18-Apr-05 22:58
Mike Dimmick18-Apr-05 22:58 
GeneralRe: Event Queuing Question Pin
paulsawyer19-Apr-05 7:11
paulsawyer19-Apr-05 7:11 
GeneralRe: Event Queuing Question Pin
Mike Dimmick19-Apr-05 8:12
Mike Dimmick19-Apr-05 8:12 
GeneralRe: Event Queuing Question Pin
Dave Kreskowiak19-Apr-05 8:14
mveDave Kreskowiak19-Apr-05 8:14 
GeneralRe: Event Queuing Question Pin
paulsawyer20-Apr-05 5:19
paulsawyer20-Apr-05 5:19 
GeneralRe: Event Queuing Question Pin
Dave Kreskowiak20-Apr-05 17:16
mveDave Kreskowiak20-Apr-05 17:16 
GeneralRe: Event Queuing Question Pin
paulsawyer21-Apr-05 7:11
paulsawyer21-Apr-05 7:11 
Thanks very much for the help. I think that I see what is going on. What you and Microsoft say about OnPaint and Event Processing is only half correct. It is true that once I am processing an event, I will not be interrupted with an OnPaint that comes from my application's event queue. However, if I open a dialog box, there is code within the system.windows.forms.dll that will call the OnPaint procedures for any or all of the other controls in my forms while that dialog box is open. What is interesting is that, if my application is busy processing an event, that will prevent it from receiving OnPaint calls that result from actions generated by other applications or Windows. IE if the app is busy, the apps controls will not receive the OnPaint calls that are in its message queue until the application becomes idle. However, it seems to be a completely different story if my app opens a dialog box. Then all of its controls will receive OnPaint calls as is needed to update the controls while the dialog box is open. These OnPaint calls show up in the same Call Stack as my original event and nested "underneath" the original event.

Now that I have sorted that out, I am wondering if there are other calls or class methods like System.Windows.Forms.Form.ShowDialog() that could also cause
OnPaint messages to show up when there are not wanted.


Paul Sawyer
Generaldraw text in .NET Framework control Pin
Anonymous15-Apr-05 23:45
Anonymous15-Apr-05 23:45 
GeneralRe: draw text in .NET Framework control Pin
MoustafaS16-Apr-05 11:49
MoustafaS16-Apr-05 11:49 
GeneralRe: draw text in .NET Framework control Pin
Anonymous17-Apr-05 20:31
Anonymous17-Apr-05 20:31 
GeneralRe: draw text in .NET Framework control Pin
MoustafaS18-Apr-05 12:27
MoustafaS18-Apr-05 12:27 
GeneralFinally here!! Pin
Johnathon Dupuis15-Apr-05 16:41
Johnathon Dupuis15-Apr-05 16:41 
GeneralUnmanaged dll in Pocket PC 2002. Pin
Anonymous15-Apr-05 5:51
Anonymous15-Apr-05 5:51 
GeneralRe: Unmanaged dll in Pocket PC 2002. Pin
Mike Dimmick15-Apr-05 8:11
Mike Dimmick15-Apr-05 8:11 
GeneralInstalled fonts in .NET Compact Framework Pin
Anonymous15-Apr-05 5:46
Anonymous15-Apr-05 5:46 
GeneralRe: Installed fonts in .NET Compact Framework Pin
Mike Dimmick15-Apr-05 8:29
Mike Dimmick15-Apr-05 8:29 
GeneralMicrosoft Reporting Service Pin
sukasukabo15-Apr-05 1:49
sukasukabo15-Apr-05 1:49 
GeneralRe: Microsoft Reporting Service Pin
Anonymous17-Apr-05 18:16
Anonymous17-Apr-05 18:16 
General.NET dependencies Pin
Anonymous15-Apr-05 0:38
Anonymous15-Apr-05 0:38 
GeneralRe: .NET dependencies Pin
Sebastian Schneider15-Apr-05 3:42
Sebastian Schneider15-Apr-05 3:42 
GeneralRe: .NET dependencies Pin
Luis Alonso Ramos16-Apr-05 19:09
Luis Alonso Ramos16-Apr-05 19:09 
GeneralLinker errors. Help, who knows Pin
lazarev14-Apr-05 21:58
lazarev14-Apr-05 21:58 
GeneralI learned... Pin
Giancarlo Aguilera14-Apr-05 8:49
Giancarlo Aguilera14-Apr-05 8:49 
GeneralRe: I learned... Pin
[Marc]16-May-05 14:47
[Marc]16-May-05 14:47 

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.