Linked Questions

Popular Questions

Changing the title of the MessageBox for DDX_Text()

Asked by At

The message box which is displayed when validation has the title same as that of the project. I searched MSDN and in google for changing the title of the message box for DDX_Text().

Below is the code snippet form

void CPower_Module::DoDataExchange(CDataExchange* pDX)

    DDX_Text(pDX, IDC_POWER_TXT_IGNITION_OFF_DELAY, delayOffWhenIgnitionIsOff);

When the user tries to delete the data in the text box, he will be shown a message Box as

enter image description here

with the application name as the title. How do I change the title of the message box keeping the functionality same?

Related Questions