文件名称:DefineMessageBox
介绍说明--下载内容均来自于网络,请自行研究使用
自定义消息对话框,支持DELPHI7~XE5
修改MessageBox可以使用图标为自定义图标,源码很简单
{-------------------------------------------------------------------------------
作者: 曾聪
日期: 2013.09.13
过程名: MsgBox
功能: 自定义消息对话框,支持DELPHI7~XE5
参数: lText, lCaption: PChar lStyle: DWord lIcon: Integer lBeep: Cardinal
返回值: Integer
说明: lText:消息框内容,lCaption:消息框标题,lStyle:按钮类型(MB_OK或者MB_YESNO等等详细请查看MessageBox的对应参数) + MB_USERICON,lIcon为加载的RES图标资源文件的标号,lBeep为消息框声音(MB_OK或者MB_ICONHAND或者MB_ICONEXCLAMATION等等,详细请百度MessageBeep查找参数值)
-------------------------------------------------------------------------------}-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
Descr iption: 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 )
-------------------------------------------------------------------------------}
修改MessageBox可以使用图标为自定义图标,源码很简单
{-------------------------------------------------------------------------------
作者: 曾聪
日期: 2013.09.13
过程名: MsgBox
功能: 自定义消息对话框,支持DELPHI7~XE5
参数: lText, lCaption: PChar lStyle: DWord lIcon: Integer lBeep: Cardinal
返回值: Integer
说明: lText:消息框内容,lCaption:消息框标题,lStyle:按钮类型(MB_OK或者MB_YESNO等等详细请查看MessageBox的对应参数) + MB_USERICON,lIcon为加载的RES图标资源文件的标号,lBeep为消息框声音(MB_OK或者MB_ICONHAND或者MB_ICONEXCLAMATION等等,详细请百度MessageBeep查找参数值)
-------------------------------------------------------------------------------}-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
Descr iption: 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 )
-------------------------------------------------------------------------------}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MainProject.dpr
MainProject.dproj
MainProject.dproj.local
MainProject.identcache
MainProject.res
MSG.rc
msg.RES
MyMsgBox.pas
自定义消息框.exe
__history\Main.dfm.~1~
.........\Main.dfm.~2~
.........\Main.dfm.~3~
.........\Main.dfm.~4~
.........\Main.pas.~1~
.........\Main.pas.~2~
.........\Main.pas.~3~
.........\Main.pas.~4~
Win32\Debug\cxButtons.dcu
.....\.....\cxClasses.dcu
.....\.....\cxContainer.dcu
.....\.....\cxControls.dcu
.....\.....\cxDateUtils.dcu
.....\.....\cxDrawTextUtils.dcu
.....\.....\cxDWMApi.dcu
.....\.....\cxFormats.dcu
.....\.....\cxGeometry.dcu
.....\.....\cxGraphics.dcu
.....\.....\cxLibraryConsts.dcu
.....\.....\cxLibraryStrs.dcu
.....\.....\cxLookAndFeelPainters.dcu
.....\.....\cxLookAndFeels.dcu
.....\.....\cxScrollBar.dcu
.....\.....\dxCalendarUtils.dcu
.....\.....\dxCore.dcu
.....\.....\dxCoreClasses.dcu
.....\.....\dxFading.dcu
.....\.....\dxGDIPlusAPI.dcu
.....\.....\dxGDIPlusClasses.dcu
.....\.....\dxHooks.dcu
.....\.....\dxMessages.dcu
.....\.....\dxOffice11.dcu
.....\.....\dxSkinsCore.dcu
.....\.....\dxSkinsStrs.dcu
.....\.....\dxThemeConsts.dcu
.....\.....\dxThemeManager.dcu
.....\.....\dxTouch.dcu
.....\.....\dxUxTheme.dcu
.....\.....\Main.dcu
.....\.....\MainProject.exe
.....\.....\MyMsgBox.dcu
.....\Release\cxButtons.dcu
.....\.......\cxClasses.dcu
.....\.......\cxContainer.dcu
.....\.......\cxControls.dcu
.....\.......\cxDateUtils.dcu
.....\.......\cxDrawTextUtils.dcu
.....\.......\cxDWMApi.dcu
.....\.......\cxFormats.dcu
.....\.......\cxGeometry.dcu
.....\.......\cxGraphics.dcu
.....\.......\cxLibraryConsts.dcu
.....\.......\cxLibraryStrs.dcu
.....\.......\cxLookAndFeelPainters.dcu
.....\.......\cxLookAndFeels.dcu
.....\.......\cxScrollBar.dcu
.....\.......\dxCalendarUtils.dcu
.....\.......\dxCore.dcu
.....\.......\dxCoreClasses.dcu
.....\.......\dxFading.dcu
.....\.......\dxGDIPlusAPI.dcu
.....\.......\dxGDIPlusClasses.dcu
.....\.......\dxHooks.dcu
.....\.......\dxMessages.dcu
.....\.......\dxOffice11.dcu
.....\.......\dxSkinsCore.dcu
.....\.......\dxSkinsStrs.dcu
.....\.......\dxThemeConsts.dcu
.....\.......\dxThemeManager.dcu
.....\.......\dxTouch.dcu
.....\.......\dxUxTheme.dcu
.....\.......\Main.dcu
.....\.......\MainProject.exe
.....\.......\MyMsgBox.dcu
透明图标\cw.ico
........\cx.ico
........\dn.ico
........\duoyh.ico
........\dyh.ico
........\gj.ico
........\hsz.ico
........\jd.ico
........\jg.ico
........\jh.ico
........\jia.ico
........\jias.ico
........\jies.ico
........\jsq.ico
........\jz.ico
........\kf.ico
........\Msg.rc