Jump to content
Tuts 4 You

How to change VC6 DDX messagebox TITLE bar?


alaphate

Recommended Posts

Posted (edited)

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
  • 2 weeks later...
Posted (edited)

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

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...