Hi,
I need my wxMessageBox to contain icon set at its title bar ,just like SetIcon is available for wxFrame.
Is there a way to set it?
Setting icon at the title bar of wxMessageBox Topic is solved
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: Setting icon at the title bar of wxMessageBox
That is not possible. Maybe try wxMessageDialog and use SetIcon
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
-
- Knows some wx things
- Posts: 29
- Joined: Fri Sep 09, 2011 9:59 am
Re: Setting icon at the title bar of wxMessageBox
Just have a look at this helppage to wxMessageBox:
http://docs.wxwidgets.org/stable/wx_dia ... messagebox
You can choose between
wxICON_EXCLAMATION Shows an exclamation mark icon.
wxICON_HAND Shows an error icon.
wxICON_ERROR Shows an error icon - the same as wxICON_HAND.
wxICON_QUESTION Shows a question mark icon.
wxICON_INFORMATION Shows an information (i) icon.
I hope this is what you wanted
http://docs.wxwidgets.org/stable/wx_dia ... messagebox
You can choose between
wxICON_EXCLAMATION Shows an exclamation mark icon.
wxICON_HAND Shows an error icon.
wxICON_ERROR Shows an error icon - the same as wxICON_HAND.
wxICON_QUESTION Shows a question mark icon.
wxICON_INFORMATION Shows an information (i) icon.
I hope this is what you wanted
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: Setting icon at the title bar of wxMessageBox
He is asking Icon on titlebar not what you are talking about!DerKleineNik wrote:Just have a look at this helppage to wxMessageBox:
http://docs.wxwidgets.org/stable/wx_dia ... messagebox
You can choose between
wxICON_EXCLAMATION Shows an exclamation mark icon.
wxICON_HAND Shows an error icon.
wxICON_ERROR Shows an error icon - the same as wxICON_HAND.
wxICON_QUESTION Shows a question mark icon.
wxICON_INFORMATION Shows an information (i) icon.
I hope this is what you wanted
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Re: Setting icon at the title bar of wxMessageBox
Thank a lot wxMessageDialog solves my issue.