<?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>Thu, 26 Jan 2012 22:12:00 +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>
<!-- Start Sociable --><div class="sociable"><div class="sociable_tagline"><a class='sociable_tagline' target='_blank' href='http://blogplay.com' style='color:#333333;text-decoration:none'>Be Sociable, Share!</a></div><ul class='clearfix'><li><a title="Twitter" class="option1_32" style="background-position:-288px -32px" rel="nofollow" target="_blank" href="http://twitter.com/intent/tweet?text=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%20(via%20@sociablesite)"></a></li><li><a title="Facebook" class="option1_32" style="background-position:-96px 0px" 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"></a></li><li><a title="email" class="option1_32" style="background-position:-160px 0px" rel="nofollow" target="_blank" href="https://mail.google.com/mail/?view=cm&fs=1&to&su=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript&body=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&ui=2&tf=1&shva=1"></a></li><li><a class="option1_32" style="cursor:pointer;background-position:-128px 0px" rel="nofollow" title="Add to favorites - doesn't work in Chrome"  onClick="javascript:AddToFavorites();"></a></li><li><a title="StumbleUpon" class="option1_32" style="background-position:-224px -32px" 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&title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript"></a></li><li><a title="Delicious" class="option1_32" style="background-position:-32px 0px" 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"></a></li><li><a title="Google Reader" class="option1_32" style="background-position:-224px 0px" rel="nofollow" target="_blank" href="http://www.google.com/reader/link?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;srcURL=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;srcTitle=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials"></a></li><li><a title="LinkedIn" class="option1_32" style="background-position:-288px 0px" 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"></a></li><li><a title="BlinkList" class="option1_32" style="background-position:0px 0px" rel="nofollow" target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&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"></a></li><li><a style="cursor:pointer" rel="nofollow" onMouseOut="fixOnMouseOut(document.getElementById('sociable-post-386'), event, 'post-386')" onMouseOver="more(this,'post-386')"><img style='margin-top:9px' src='http://www.installationdeveloper.com/wp-content/plugins/sociable/images/more.png'></a></li></ul><div onMouseout="fixOnMouseOut(this,event,'post-386')" id="sociable-post-386" style="display:none;">   

    <div style="top: auto; left: auto; display: block;" id="sociable">



		<div class="popup">

			<div class="content">

				<ul><li style="heigth:32px;width:32px"><a title="Myspace" class="option1_32" style="background-position:0px -32px" 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"></a></li><li style="heigth:32px;width:32px"><a title="Digg" class="option1_32" style="background-position:-64px 0px" 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"></a></li><li style="heigth:32px;width:32px"><a title="Reddit" class="option1_32" style="background-position:-128px -32px" 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"></a></li><li style="heigth:32px;width:32px"><a title="Google Bookmarks" class="option1_32" style="background-position:-192px 0px" 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"></a></li><li style="heigth:32px;width:32px"><a title="HackerNews" class="option1_32" style="background-position:-256px 0px" rel="nofollow" target="_blank" href="http://news.ycombinator.com/submitlink?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"></a></li><li style="heigth:32px;width:32px"><a title="MSNReporter" class="option1_32" style="background-position:-352px 0px" rel="nofollow" target="_blank" href="http://reporter.es.msn.com/?fn=contribute&amp;Title=How%20to%20Set%20the%20Custom%20Dialog%20Box%20Title%20in%20InstallScript&amp;URL=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=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"></a></li><li style="heigth:32px;width:32px"><a title="Sphinn" class="option1_32" style="background-position:-192px -32px" rel="nofollow" target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.installationdeveloper.com%2F386%2Fhow-to-set-the-custom-dialog-box-title-in-installscript%2F"></a></li><li style="heigth:32px;width:32px"><a title="Posterous" class="option1_32" style="background-position:-64px -32px" rel="nofollow" target="_blank" href="http://posterous.com/share?linkto=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;selection=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"></a></li><li style="heigth:32px;width:32px"><a title="Tumblr" class="option1_32" style="background-position:-256px -32px" rel="nofollow" target="_blank" href="http://www.tumblr.com/share?v=3&amp;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&amp;s=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"></a></li></ul>			

			</div>        

		  <a style="cursor:pointer" onclick="hide_sociable('post-386',true)" class="close">



		  <img onclick="hide_sociable('post-386',true)" title="close" src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/closelabel.png">

		  </a>

		</div>

	</div> 

  </div></div><div class='sociable' style='float:none'><ul class='clearfix'><li id="Twitter_Counter"><a href="https://twitter.com/share" data-text="How to Set the Custom Dialog Box Title in InstallScript - http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/ (via #sociablesite)" data-url="http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/" class="twitter-share-button" data-count="horizontal">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></li><li id="Facebook_Counter"><iframe src="//www.facebook.com/plugins/like.php?href=http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/&send=false&layout=button_count&show_faces=false&action=like&colorscheme=light&font" scrolling="no" frameborder="0" style="border:none; overflow:hidden;height:32px;width:100px" allowTransparency="true"></iframe></li><li id="Google_+"><g:plusone annotation="bubble" href="http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/" size="medium"></g:plusone></li><li id="LinkedIn_Counter"><script src="http://platform.linkedin.com/in.js" type="text/javascript"></script><script type="IN/Share" data-url="http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/" data-counter="right"></script></li><li id="StumbleUpon_Counter"><script src="http://www.stumbleupon.com/hostedbadge.php?s=2&r=http://www.installationdeveloper.com/386/how-to-set-the-custom-dialog-box-title-in-installscript/"></script></li></ul></div><!-- End Sociable -->]]></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>

