I have a strange situation. A simple call to MessageBox.Show ("XXX", "YYY")
does not display the message in the messagebox with a visible font. Based on
the content of the messagebox, the box sizes properly so I know there is a
message in there. I also found a keyboard shortcut where <ctrl>+<inser t>
will copy the contents of the messagebox to the clipboard in plain text. I
see my messagebox text in the clipboard contents but not in the messagebox.
The best background that I can give in this situation is that is that I
believe I was working on printing documents when this stopped working. I
think this might somehow be interrelated because I found that if I display a
print preview dialog, then after that I can see the text in the messagebox
within the scope of that debugging session.
This is as bizarre as it sounds.
To recap:
1. create a new project, add a button with a
MessageBox.Show ("XXX","YYY" ). MessageBox text does not show.
2. create a new project, add a PrintPreviewDia log, a print document, and
a button. Assign the print document to the print preview dialog. on the
button: MessageBox.Show ("XXX", "YYY"); , printPreviewDia log1.Show();
MessageBox.Show ("XXX", "YYY");. The message displays in the second message
box.
I have tried the first test in both VB.NET 2003 and C#.NET 2003 with a
number of different message box styles.
does not display the message in the messagebox with a visible font. Based on
the content of the messagebox, the box sizes properly so I know there is a
message in there. I also found a keyboard shortcut where <ctrl>+<inser t>
will copy the contents of the messagebox to the clipboard in plain text. I
see my messagebox text in the clipboard contents but not in the messagebox.
The best background that I can give in this situation is that is that I
believe I was working on printing documents when this stopped working. I
think this might somehow be interrelated because I found that if I display a
print preview dialog, then after that I can see the text in the messagebox
within the scope of that debugging session.
This is as bizarre as it sounds.
To recap:
1. create a new project, add a button with a
MessageBox.Show ("XXX","YYY" ). MessageBox text does not show.
2. create a new project, add a PrintPreviewDia log, a print document, and
a button. Assign the print document to the print preview dialog. on the
button: MessageBox.Show ("XXX", "YYY"); , printPreviewDia log1.Show();
MessageBox.Show ("XXX", "YYY");. The message displays in the second message
box.
I have tried the first test in both VB.NET 2003 and C#.NET 2003 with a
number of different message box styles.
Comment