(Type your message here)

I have a small assembly that displays dialogs for logging in and message boxes if an error occurs.

The button text and label text in the dialogs isn't drawing when the form is opened
by either Dialog.ShowDialog() or MessageBox.Show(). In the case of a dialog, some of
the labels appear and some do not. The button text doesn't appear for either
dialogs or message boxes.

The text draws correctly in the Designer.

I was able to 'repair' the dialogs by deleting the controls and re-adding them
to the form in the Designer. I don't have that option in a MessageBox.

Anyone seen this behavior before?

--------------------------------
From: Don Dusich

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>N41D2NHa90W/Q0PaoCYfpw==</Id>

Re: Label and Button text not drawing by Herfried

Herfried
Wed Mar 30 18:54:10 CST 2005

"Don Dusich via .NET 247" <anonymous@dotnet247.com> schrieb:
> The button text and label text in the dialogs isn't drawing when the form
> is opened
> by either Dialog.ShowDialog() or MessageBox.Show(). In the case of a
> dialog, some of
> the labels appear and some do not. The button text doesn't appear for
> either
> dialogs or message boxes.

Maybe the problem is caused by an unpatched virus scanner. These symptoms
are typically caused by a McAfee VirusScan problem that NAI is aware of and
that can be fixed by installing a patch:

Patch 5 for McAfee VirusScan Enterprise 8.0i
<URL:https://knowledgemap.nai.com/phpclient/viewKDoc.aspx?url=kb/kb_kb38717.xml&docType=DOC_KnowledgeBase>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>