Link to home
Start Free TrialLog in
Avatar of spetrowitsch
spetrowitsch

asked on

Simple MessageBox like in Visual C++

Hi,

I tried to show a short message, where the user has to press the "OK"-button like this:

strMessage = ".....";
Message MsgBox = new Message(null, "Error", strMessage);
MsgBox.setButtonSet(MsgBox.OK);
MsgBox.show();

But ... nothing happens. Who can tell me why or how to do it?
ASKER CERTIFIED SOLUTION
Avatar of expertmb
expertmb

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial