cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ralphster
Level 6

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
banna_k
Revenera
Revenera

Hi @ralphster ,

Try using MessageBoxEx function, 

or call SetDialogTitle before calling the MessageBox function

View solution in original post

(1) Reply
banna_k
Revenera
Revenera

Hi @ralphster ,

Try using MessageBoxEx function, 

or call SetDialogTitle before calling the MessageBox function