<?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>Cubic Reality &#187; Delphi</title>
	<atom:link href="http://www.cubicreality.com/tag/delphi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cubicreality.com</link>
	<description>Software for all walks of life</description>
	<lastBuildDate>Sat, 24 Jul 2010 17:05:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Notes (week 48)</title>
		<link>http://www.cubicreality.com/2007/12/01/notes-week-48/</link>
		<comments>http://www.cubicreality.com/2007/12/01/notes-week-48/#comments</comments>
		<pubDate>Sat, 01 Dec 2007 12:27:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[CubicExplorer]]></category>
		<category><![CDATA[Delphi]]></category>

		<guid isPermaLink="false">http://www.cubicreality.com/2007/12/01/notes-week-48/</guid>
		<description><![CDATA[I&#8217;ve been working this week with the new version of SpTBX library. It&#8217;s a set of controls that I use in CE (menu,toolbars,buttons etc.). Thanks to Robert Lee&#8217;s great work, the new version now supports skinning. I had to do quite a lot modifications to CE to make the new version work correctly but it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working this week with the new version of SpTBX library. It&#8217;s a set of controls that I use in CE (menu,toolbars,buttons etc.). Thanks to Robert Lee&#8217;s great work, the new version now supports skinning. I had to do quite a lot modifications to CE to make the new version work correctly but it&#8217;s mostly up and running now. </p>
<p>There&#8217;s few cool new themes available but some old themes are missing, like Aluminum. <br /><a title="Leopard theme" href="http://cubicreality.pp.fi/images/blog/Notesweek48_A11F/ce_leopard_theme.png" rel="lightbox[83]"><img height="120" alt="ce_leopard_theme" src="http://cubicreality.pp.fi/images/blog/Notesweek48_A11F/ce_leopard_theme_thumb.png" width="152"></a><a title="Office 2007 Silver" href="http://cubicreality.pp.fi/images/blog/Notesweek48_A11F/ce_office2007_silver.png" rel="lightbox[83]"><img height="120" alt="ce_office2007_silver" src="http://cubicreality.pp.fi/images/blog/Notesweek48_A11F/ce_office2007_silver_thumb.png" width="152"></a><a title="Office 2007 Black" href="http://cubicreality.pp.fi/images/blog/Notesweek48_A11F/ce_office2007_black.png" rel="lightbox[83]"><img height="120" alt="ce_office2007_black" src="http://cubicreality.pp.fi/images/blog/Notesweek48_A11F/ce_office2007_black_thumb.png" width="152"></a> </p>
<p>I wrote a simple skin editor that makes it easier to create your own skins.<br /><a title="SpSkin Editor" href="http://cubicreality.pp.fi/images/blog/Notesweek48_A11F/SpSkinEditor.png" rel="lightbox[83]"><img height="180" alt="SpSkin Editor" src="http://cubicreality.pp.fi/images/blog/Notesweek48_A11F/SpSkinEditor_thumb.png" width="240"></a></p>
<p><strong>SpSkin Editor, source + exe (852KB)<br /></strong><a href="http://cubicreality.pp.fi/files/misc/SpSkinEditor.zip">http://cubicreality.pp.fi/files/misc/SpSkinEditor.zip</a></p>
<p>I&#8217;m still not sure when the next release date is. I&#8217;ve done some work on the options dialog and have pretty good idea on how it will look and feel.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cubicreality.com/2007/12/01/notes-week-48/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using version control system</title>
		<link>http://www.cubicreality.com/2007/07/13/using-version-control-system/</link>
		<comments>http://www.cubicreality.com/2007/07/13/using-version-control-system/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 16:30:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.cubicreality.com/?p=53</guid>
		<description><![CDATA[I finally took version control system in use for CubicExplorer. I chose SVN. Currently I&#8217;m using local repository but will move it to a server once I have the time and energy to build a new case for the hardware. I&#8217;ve been using this thing for a week now and it&#8217;s really nice. Currently CE [...]]]></description>
			<content:encoded><![CDATA[<p>I finally took version control system in use for CubicExplorer. I chose <a href="http://subversion.tigris.org/">SVN</a>. Currently I&#8217;m using local repository but will move it to a server once I have the time and energy to build a new case for the hardware. I&#8217;ve been using this thing for a week now and it&#8217;s really nice. Currently CE has over 100 files in it&#8217;s source so it started to be a bit hard to handle. The biggest thing I like it is the log. Now I can write note on every bug fix or other change, which means there will be change logs for releases <img src='http://www.cubicreality.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I used to use a simple folder tree to handle different versions. Every once in a while I took copy of CE&#8217;s source folder and started to work in that new folder. I also had all the files in one folder so it was quite a mess. I decided to change the folder structure a bit so that source files and .dcu files are in their own sub-folders. It&#8217;s much cleaner now.</p>
<p>I&#8217;m using TortoiseSVN to do everything. It supports local repositories so there&#8217;s no need to use svnserve or Apache. Also I&#8217;m using a simple add-in for Delphi that adds menu with common TortoiseSVN commands.</p>
<p><strong>TortoiseSVN</strong>    <br /><a title="http://tortoisesvn.tigris.org/" href="http://tortoisesvn.tigris.org/">http://tortoisesvn.tigris.org/</a></p>
<p><strong>Delphi add-in for TortoiseSVN</strong>    <br /><a title="http://delphiaddinfortortoisesvn.tigris.org/" href="http://delphiaddinfortortoisesvn.tigris.org/">http://delphiaddinfortortoisesvn.tigris.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cubicreality.com/2007/07/13/using-version-control-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hand Point (link) cursor in Delphi</title>
		<link>http://www.cubicreality.com/2007/06/21/hand-point-link-cursor-in-delphi/</link>
		<comments>http://www.cubicreality.com/2007/06/21/hand-point-link-cursor-in-delphi/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 16:37:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Delphi]]></category>

		<guid isPermaLink="false">http://www.cubicreality.com/?p=44</guid>
		<description><![CDATA[So I&#8217;m writing some code and need to use the hand point (link) cursor. However I noticed that Delphi is using different looking cursor than Windows. After I looked around in the Forms unit to see how TScreen handles cursors I wrote this fix which seems to work fine.
  procedure TForm1.FormCreate(Sender: TObject);
begin
  Screen.Cursors[crHandPoint]:= [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m writing some code and need to use the hand point (link) cursor. However I noticed that Delphi is using different looking cursor than Windows. After I looked around in the Forms unit to see how TScreen handles cursors I wrote this fix which seems to work fine.</p>
<p>  <code><span style="color:#0000FF">procedure</span> TForm1.FormCreate(Sender: TObject);<br />
<span style="color:#0000FF">begin</span><br />
  Screen.Cursors[crHandPoint]:= LoadCursor(0, IDC_HAND);<br />
<span style="color:#0000FF">end</span>;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cubicreality.com/2007/06/21/hand-point-link-cursor-in-delphi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delphi app preventing Windows to shutdown?</title>
		<link>http://www.cubicreality.com/2007/03/15/delphi-app-preventing-windows-to-shutdown/</link>
		<comments>http://www.cubicreality.com/2007/03/15/delphi-app-preventing-windows-to-shutdown/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 01:07:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Delphi]]></category>

		<guid isPermaLink="false">http://www.cubicreality.com/?p=8</guid>
		<description><![CDATA[Whew! After about 6 hours of constant debugging and testing in VMWare I finally managed to find the cause for a problem that prevented Windows from shutting down if my Application was running. The solution is very simple, in my case at least. Basically I had one component that used AllocateHWND to create a handle. [...]]]></description>
			<content:encoded><![CDATA[<p>Whew! After about 6 hours of constant debugging and testing in VMWare I finally managed to find the cause for a problem that prevented Windows from shutting down if my Application was running. The solution is very simple, in my case at least. Basically I had one component that used AllocateHWND to create a handle. In my WindowProc I didn&#8217;t have a call to the DefWindowProc, so the WM_QUERYENDSESSION didn&#8217;t get handled properly.</p>
<p><span id="more-8"></span></p>
<p>So as a tip to everyone who has this issue, scan you sources for AllocateHWND and check that the DefWindowProc is called.</p>
<pre>
procedure TMyComponent.MsgProc(var Message: TMessage);
begin

  // Do you stuff
  case msg.Msg of
    WM_USER + 1: ShowMessage('Do some stuff');
  end;

  // Handle default messages
  Message.Result:= DefWindowProc(fMyHandle,
                                 Message.Msg,
                                 Message.WParam,
                                 Message.LParam);
end;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cubicreality.com/2007/03/15/delphi-app-preventing-windows-to-shutdown/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
