|
-
July 12th, 2005, 01:21 PM
#1
[RESOLVED] MessageBox completely blank?
Hi,
I'm just starting to look at C#, and in trying some samples, I have a strange problem - perhaps it's just this machine (I'll try it at home later).
I create a simple Windows Application and on the form I place one button.
In the event handler for the button, I simply put:
Code:
MessageBox.Show("Hello");
The message box pops up, but it is completely blank! Title bar is the correct color, background is the correct color, button is present (but no OK or any other text on the button), no text in the message box and no text in the title bar.
If I change it to
Code:
MessageBox.Show("Hello", "Test Dialog");
then the title bar will show "Test Dialog" properly.
Any clues?
(Windows XP, SP1, all critical updates).
Thanks.
Be sure to rate those who help!
-------------------------------------------------------------
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|