Recent

Author Topic: Can I change or omit MessageDlg's default button bitmap?  (Read 3954 times)

Goodman H__

  • Full Member
  • ***
  • Posts: 130
Can I change or omit MessageDlg's default button bitmap?
« on: August 27, 2010, 02:48:36 am »
Greetings!

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: [Select]
function MessageDlg(,,,useButtonIcon:boolean=true):integer;

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.
fpc:2.6.1 Lazarus:1.1 SVN39277
OS:win 7

 

TinyPortal © 2005-2018