Jump to content

How to change VC6 DDX messagebox TITLE bar?


alaphate

Recommended Posts

In VC6 MFC

How to change the title bar of warning messagebox,

when DDV exception is inoked? WHIOUT changing application name.

e.g.

int age;

DDX_Text(pDX, IDC_EDIT, age);

if I input "abc" in IDC_EDIT

It will prompt "Please input a integer" messagebox.

The title is my application name.

Question is how to change the title of this warning messagebox.

Thank you :)

post-37152-1238846727_thumb.png

Edited by alaphate
Link to comment
  • 2 weeks later...

in delphi:

MessageDlg('myApp',mtWarning, mbOK, 0);

where is 'myApp' is title of messagebox

just hit F1 and look for messageDlg (Dialog)

Edited by 6748222
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...