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

.NET (Core and Framework)

 
GeneralReading unicode text file in FCL Pin
NOTEPAK16-Apr-05 19:38
NOTEPAK16-Apr-05 19:38 
GeneralRe: Reading unicode text file in FCL Pin
Mike Dimmick18-Apr-05 22:54
Mike Dimmick18-Apr-05 22:54 
GeneralRe: Reading unicode text file in FCL Pin
NOTEPAK19-Apr-05 8:45
NOTEPAK19-Apr-05 8:45 
GeneralCookies and winform Pin
Anonymous16-Apr-05 2:52
Anonymous16-Apr-05 2:52 
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 
The first time I realized I was getting OnPaint calls when I was already busy processing another event was when I opened a modal dialog box in the middle of another OnPaint. I did realize that that wasn’t the brightest thing to do however; I have also seen OnPaint calls come in when I have opened a dialog box from other non OnPaint code. Actually, I was stepping through my (non OnPaint ) code with the debugger. When I step over a dialog.ShowDialog() my main form gets brought to the foreground and draws itself completely as the dialog box is also brought up. So clearly OnPaint calls are getting through there as well. Do you think that I am getting these OnPaint calls as a direct result of opening the modal dialog? IE do I only have to worry about OnPaint calls when I open another form or something? Or is it the case that I can get OnPaint calls anytime the OS or another application decides to draw on top of one of my windows?

I have also wondered if these OnPaint calls could the result of the magic that goes on with the Visual Studio Debugger interacting with my application. IE I wouldn’t have to worry about them in non-debugged execution. Whatever the case, I still need to find a way to stop these OnPaint when I am not ready for them.

Thanks so much for your help.


Paul Sawyer
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 
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 

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.