cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
ralphster
Active participant

How to change title at the top of a MessageBox ?

Jump to solution

How can I change the title in the top of the Message Box when it is displayed? I can change titles for other dialog boxes, but I don't know how to change the title for a  MessageBox 

 

Example: MessageBox("Today is Wednesday.",MB_OK);

I want the title at the top of the MessageBox to say "Day Confirm". So how would I change that title?

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
Flexera banna_k
Flexera

Re: How to change title at the top of a MessageBox ?

Jump to solution

Hi @ralphster ,

Try using MessageBoxEx function, 

or call SetDialogTitle before calling the MessageBox function

1 Reply
Flexera banna_k
Flexera

Re: How to change title at the top of a MessageBox ?

Jump to solution

Hi @ralphster ,

Try using MessageBoxEx function, 

or call SetDialogTitle before calling the MessageBox function