Forum > LCL

Can I change or omit MessageDlg's default button bitmap?


Goodman H__:

This is just a homework question other than anything biggy.:P

The messageDlg buttons have a default bitmap,IIRC LCL is using native control in most situations.So my question is is there any way to omit MessageDlg's default button bitmap,or to implement my own's MessageDlg by override it:

--- Code: ---function MessageDlg(,,,useButtonIcon:boolean=true):integer;

--- End code ---

If I provide the last parameter to false in the params list,the messageDlg will not show button bitmap,otherwise just do the same as normal.Same request to Application.Messagebox
Could anybody help?Thanks.


[0] Message Index

Go to full version