<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Installation Developer &#187; How to Set the Custom Dialog Box Title in InstallScript</title>
	<atom:link href="http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.installationdeveloper.com</link>
	<description>InstallShield Training - InstallShield Tutorials</description>
	<lastBuildDate>Sat, 04 Sep 2010 14:49:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Set the Custom Dialog Box Title in InstallScript</title>
		<link>http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/</link>
		<comments>http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 17:59:12 +0000</pubDate>
		<dc:creator>Rod_Maupin</dc:creator>
				<category><![CDATA[InstallShield Training]]></category>
		<category><![CDATA[installshield class]]></category>
		<category><![CDATA[installshield course]]></category>
		<category><![CDATA[installshield courses]]></category>
		<category><![CDATA[installshield programmer]]></category>
		<category><![CDATA[Installshield Tutorial]]></category>
		<category><![CDATA[installshield tutorials]]></category>

		<guid isPermaLink="false">http://www.installationdeveloper.com/?p=386</guid>
		<description><![CDATA[Setting the title of a custom dialog box in an InstallScript or InstallScript MSI project is easy. That is if you can find the needed function in the InstallShield Help. Don&#8217;t laugh. It&#8217;s not that easy to find. The function to use is SetWindowText(). Here is an example: &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case DLG_INIT: &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// get the dialog&#8217;s window [...]]]></description>
			<content:encoded><![CDATA[<p>Setting the title of a custom dialog box in an <strong>InstallScript</strong> or <strong>InstallScript MSI</strong> project is easy.  That is if you can find the needed function in the <strong>InstallShield</strong> Help.  Don&#8217;t laugh.  It&#8217;s not that easy to find.</p>
<p>The function to use is <strong>SetWindowText()</strong>.  Here is an example:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case DLG_INIT:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// get the dialog&#8217;s window handle</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hwndDlg = CmdGetHwndDlg (szDialogName); </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// set the custom dialog box window title</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SetWindowText (hwndDlg, &#8220;Select Options&#8221;); </p>
<p>You first must call <strong>CmdGetHwndDlg()</strong> to get the handle to the dialog box.  Then, just call <strong>SetWindowText()</strong> with the dialog handle and the title.</p>
<p>That&#8217;s it!</p>
<p>
&nbsp;</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript&amp;bodytext=Setting%20the%20title%20of%20a%20custom%20dialog%20box%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%20is%20easy.%20%20That%20is%20if%20you%20can%20find%20the%20needed%20function%20in%20the%20InstallShield%20Help.%20%20Don%27t%20laugh.%20%20It%27s%20not%20that%20easy%20to%20find.%0D%0A%0D%0AThe%20function%20to%20use%20is%20SetWindowT" title="Digg"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript&amp;notes=Setting%20the%20title%20of%20a%20custom%20dialog%20box%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%20is%20easy.%20%20That%20is%20if%20you%20can%20find%20the%20needed%20function%20in%20the%20InstallShield%20Help.%20%20Don%27t%20laugh.%20%20It%27s%20not%20that%20easy%20to%20find.%0D%0A%0D%0AThe%20function%20to%20use%20is%20SetWindowT" title="del.icio.us"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;t=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript" title="Facebook"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;h=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript" title="NewsVine"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript" title="Reddit"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript" title="StumbleUpon"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript&amp;annotation=Setting%20the%20title%20of%20a%20custom%20dialog%20box%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%20is%20easy.%20%20That%20is%20if%20you%20can%20find%20the%20needed%20function%20in%20the%20InstallShield%20Help.%20%20Don%27t%20laugh.%20%20It%27s%20not%20that%20easy%20to%20find.%0D%0A%0D%0AThe%20function%20to%20use%20is%20SetWindowT" title="Google Bookmarks"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;submitHeadline=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript&amp;submitSummary=Setting%20the%20title%20of%20a%20custom%20dialog%20box%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%20is%20easy.%20%20That%20is%20if%20you%20can%20find%20the%20needed%20function%20in%20the%20InstallShield%20Help.%20%20Don%27t%20laugh.%20%20It%27s%20not%20that%20easy%20to%20find.%0D%0A%0D%0AThe%20function%20to%20use%20is%20SetWindowT&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F" title="Twitter"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F" title="Technorati"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript" title="Live"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=Setting%20the%20title%20of%20a%20custom%20dialog%20box%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%20is%20easy.%20%20That%20is%20if%20you%20can%20find%20the%20needed%20function%20in%20the%20InstallShield%20Help.%20%20Don%27t%20laugh.%20%20It%27s%20not%20that%20easy%20to%20find.%0D%0A%0D%0AThe%20function%20to%20use%20is%20SetWindowT" title="LinkedIn"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;t=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript" title="MySpace"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
