<?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>Delphi Tutorial &#187; Windows API</title>
	<atom:link href="http://delphitutorial.info/category/delphi-tutorial/windows-api/feed" rel="self" type="application/rss+xml" />
	<link>http://delphitutorial.info</link>
	<description></description>
	<lastBuildDate>Sun, 19 Jul 2009 10:48:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hide the titlebar</title>
		<link>http://delphitutorial.info/hide-the-titlebar.html</link>
		<comments>http://delphitutorial.info/hide-the-titlebar.html#comments</comments>
		<pubDate>Fri, 16 Feb 2007 06:45:32 +0000</pubDate>
		<dc:creator>Delphi Tutorial</dc:creator>
				<category><![CDATA[Forms]]></category>
		<category><![CDATA[Windows API]]></category>

		<guid isPermaLink="false">http://delphitutorial.info/hide-the-titlebar.html</guid>
		<description><![CDATA[Hide the titlebar. Procedure TForm1.HideTitlebar; var Save : LongInt; Begin If BorderStyle=bsNone then Exit; Save:=GetWindowLong(Handle,gwl_Style); If (Save and ws_Caption)=ws_Caption then Begin Case BorderStyle of bsSingle, bsSizeable : SetWindowLong(Handle,gwl_Style,Save and (Not(ws_Caption)) or ws_border); bsDialog : SetWindowLong(Handle,gwl_Style,Save and (Not(ws_Caption)) or ds_modalframe or &#8230; <a href="http://delphitutorial.info/hide-the-titlebar.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hide the titlebar.<br />
<span id="more-43"></span></p>
<p><font size="2" face="Courier New, Courier, mono"><strong>Procedure </strong>TForm1.HideTitlebar;<br />
<strong>var</strong><br />
Save : LongInt;<br />
<strong>Begin</strong><br />
If  BorderStyle=bsNone then Exit;<br />
Save:=GetWindowLong(Handle,gwl_Style);<br />
If  (Save and ws_Caption)=ws_Caption then Begin<br />
<strong>Case </strong>BorderStyle <strong>of</strong><br />
bsSingle,<br />
bsSizeable : SetWindowLong(Handle,gwl_Style,Save and<br />
(Not(ws_Caption)) or ws_border);<br />
bsDialog :  SetWindowLong(Handle,gwl_Style,Save and<br />
(Not(ws_Caption)) or  ds_modalframe or ws_dlgframe);<br />
<strong>End</strong>;<br />
Height:=Height-getSystemMetrics(sm_cyCaption);<br />
Refresh;<br />
<strong>End</strong>;<br />
<strong>end</strong>;<br />
</font>And here is how we show it again:<br />
<font size="2" face="Courier New, Courier, mono"><strong>Procedure </strong>TForm1.ShowTitlebar;<br />
<strong>Var</strong><br />
Save : LongInt;<br />
<strong>begin</strong><br />
If  BorderStyle=bsNone then Exit;<br />
Save:=GetWindowLong(Handle,gwl_Style);<br />
If  (Save and ws_Caption)<>ws_Caption then <strong>Begin</strong><br />
<strong>Case </strong>BorderStyle  <strong>of</strong><br />
bsSingle,<br />
bsSizeable : SetWindowLong(Handle,gwl_Style,Save or<br />
ws_Caption or ws_border);<br />
bsDialog :  SetWindowLong(Handle,gwl_Style,Save or<br />
ws_Caption or ds_modalframe or  ws_dlgframe);<br />
<strong>End</strong>;<br />
Height:=Height+getSystemMetrics(sm_cyCaption);<br />
Refresh;<br />
<strong>End</strong>;<br />
<strong>end</strong>;<br />
</font></p>
<h4>Incoming search terms:</h4><ul><li>menyembunyikan titel di delphi</li><li>delphi hide titlebar</li><li>delphi 7 hide title form</li><li>form hide di delphi 7</li><li>getsystemmetrics(sm_cycaption) delphi</li><li>hide caption application delphi</li><li>hide close from bar title delphi</li><li>how to hide tform titlebar delphi 7</li><li>how to hide the titlebar in delphi</li><li>delphi title bar</li></ul>]]></content:encoded>
			<wfw:commentRss>http://delphitutorial.info/hide-the-titlebar.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.242 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-17 19:15:06 -->

