RED X

  • Thread starter Thread starter decrypted
  • Start date Start date
D

decrypted

I have been looking high and low for an answer tot his problem....every once
in a while, inb release mode, my controls will get a big RED X drawn on
them. I know this is an OnPaint problem, but I can't reproduce it
properly...if anyone has ANY information on the RED X (my new blue screen of
death) PLEASE LET ME KNOW!

-dec
 
Hello,

decrypted said:
I have been looking high and low for an answer tot his problem....every once
in a while, inb release mode, my controls will get a big RED X drawn on
them. I know this is an OnPaint problem, but I can't reproduce it
properly...if anyone has ANY information on the RED X
(my new blue screen of death) PLEASE LET ME KNOW!

Post the OnPaint code (is possible).

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet

Purpose: Help Protect Your Computer Today (Immediately)
Action: Read about the Blaster worm and update your software
immediately. Check the Security site for more information and steps you
should take to help protect your systems.
URL: http://www.microsoft.com/security/incident/blast.asp
 
I ment the problem occures in the painting events of those controls throwing
the exception. I have traverssed through various overriden OnPaints and
nothing special is happending...additionaly, this happens in .NET specific
controls which have not been inherited from nor has thier OnPaint methods
been overriden.

-dec
 
Hello,

I had the same problem with some inherited forms, and I noticed this X comes
if there is an exception in the contructor of the control.
 
Back
Top