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

.NET (Core and Framework)

 
GeneralRe: Cookies and winform Pin
Steven Campbell19-Apr-05 6:49
Steven Campbell19-Apr-05 6:49 
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 
paulsawyer wrote:
Does this include receiving an OnPaint event while your code is in the middle of processing some other event?

YES! But since WM_PAINT is a queued message it won't fire until your windows message pump gets around to calling GetMessage, which won't happen in the middle of an event handler, unless you call Application.DoEvents(), or idle the UI thread somehow.

You should see how many mouse events get fired off just by moving the mouse acrossed your form! The events are not "events" so to speak, but code your write that get executed when certain messages are posted to your window's message QUEUE (hint, hint). There are two types of messages, queued and non-queued. WM_PAINT is a queued message.

I highly recommend reading About Messages and Message Queues[^]


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Event Queuing Question Pin
paulsawyer21-Apr-05 7:11
paulsawyer21-Apr-05 7:11 
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 

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.