Simple question...

  • Thread starter Thread starter Lonnie
  • Start date Start date
L

Lonnie

Hey,

I'm working on a .NET application which was begun on a Windows 2000
platform. I have since migrated to Windows XP and I am having an issue
with message boxes.

When I bring up a message box for the first time it shows the caption
but no text in the body and no text on the button. The code is very
simple and is taken right out of the MSDN.

String* message = S"the body text";
String* caption = S"the caption";
MessageBox::Show(message, caption, buttons);

Anyone else run into this before? I can't find a lick of documentation
on this.

Thanks!

Lonnie
 
Lonnie said:
Hey,

I'm working on a .NET application which was begun on a Windows 2000
platform. I have since migrated to Windows XP and I am having an issue
with message boxes.

When I bring up a message box for the first time it shows the caption
but no text in the body and no text on the button. The code is very
simple and is taken right out of the MSDN.

Change:

String* message = S"the body text";
String* caption = S"the caption";

To:

String* message = new String("the body text");
String* caption = new String("the caption");
 
Dang, that didn't work. I appreciate the advice none-the-less. Any
other ideas?

Lonnie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top