Introduction - If you have any usage issues, please Google them yourself
Custom message box, support DELPHI7 ~ XE5
Modify MessageBox can use the icon for a custom icon, the source code is very simple
{-------------------------------------------------------------------------------
Author: Zeng Cong
Date: 2013.09.13
Process name: MsgBox
Function: Custom message box support DELPHI7 ~ XE5
Parameters: lText, lCaption: PChar lStyle: DWord lIcon: Integer lBeep: Cardinal
Return value: Integer
Description: lText: message box contents, lCaption: message box title, lStyle: Button type (MB_OK or MB_YESNO more details, please see the corresponding parameter of MessageBox)+ MB_USERICON, lIcon RES icon to load the resource file label, lBeep for the message box sound (MB_OK or MB_ICONHAND or MB_ICONEXCLAMATION, etc. For details, please Baidu MessageBeep find parameter values )
-------------------------------------------------------------------------------}