<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Heck's  Blog]]></title> 
<link>https://www.heckjj.com/index.php</link> 
<description><![CDATA[一瞬间的决定，往往可以改变很多，事实上，让自己成功的往往不是知识，是精神！ 如果你总是为自己找借口，那只好让成功推迟。执行力，今天！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Heck's  Blog]]></copyright>
<item>
<link>https://www.heckjj.com/post//</link>
<title><![CDATA[带语音的对话框]]></title> 
<author>Heck &lt;@hecks.tk&gt;</author>
<category><![CDATA[编程杂谈]]></category>
<pubDate>Wed, 27 Oct 2010 02:52:29 +0000</pubDate> 
<guid>https://www.heckjj.com/post//</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-family: 微软雅黑;">VCL里的MessageDlg没有声音，而标准的windows消息对话框是带声音的<br/><br/>可以用下面的函数解决：<br/><br/>function MsgDlg (const msg: string; atype: TMsgDlgType; abuttons: TMsgDlgButtons; helpctx: Longint): Word; <br/>var mb: CARDINAL; <br/>begin <br/>case AType of <br/>&nbsp;&nbsp;mtWarning:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mb:= MB_ICONEXCLAMATION; <br/>&nbsp;&nbsp;mtError:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mb:= MB_ICONHAND; <br/>&nbsp;&nbsp;mtInformation:&nbsp;&nbsp;mb:= MB_ICONASTERISK; <br/>&nbsp;&nbsp;mtConfirmation: mb:= MB_ICONQUESTION; <br/>&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mb:= $0FFFFFFFF; <br/>end; <br/>MessageBeep (mb); <br/>MsgDlg:= MessageDlg (msg, atype, abuttons, helpctx); <br/>end <br/></span>
]]>
</description>
</item><item>
<link>https://www.heckjj.com/post//#blogcomment</link>
<title><![CDATA[[评论] 带语音的对话框]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://www.heckjj.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>