<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Datum in einem CDateTimeCtrl ändern]]></title><description><![CDATA[<p>Ein Datum mit der CDateTimeCtrl einstellen ist praktisch. Aber wenn ich ein Datum mittels SetWindowText in das Feld schreiben möchte, funktioniert das irgendwie nicht. GetWindowText zum auslesen geht aber.</p>
<p>Gruß Ronny</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/49057/datum-in-einem-cdatetimectrl-ändern</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 02:53:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/49057.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Sep 2003 15:46:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datum in einem CDateTimeCtrl ändern on Mon, 15 Sep 2003 15:46:39 GMT]]></title><description><![CDATA[<p>Ein Datum mit der CDateTimeCtrl einstellen ist praktisch. Aber wenn ich ein Datum mittels SetWindowText in das Feld schreiben möchte, funktioniert das irgendwie nicht. GetWindowText zum auslesen geht aber.</p>
<p>Gruß Ronny</p>
]]></description><link>https://www.c-plusplus.net/forum/post/354097</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/354097</guid><dc:creator><![CDATA[hronny]]></dc:creator><pubDate>Mon, 15 Sep 2003 15:46:39 GMT</pubDate></item><item><title><![CDATA[Reply to Datum in einem CDateTimeCtrl ändern on Mon, 15 Sep 2003 16:02:10 GMT]]></title><description><![CDATA[<p>Schon erledigt.</p>
<pre><code class="language-cpp">CDateTimeCtrl* pCtrl = (CDateTimeCtrl*) GetDlgItem(IDC_DATETIMEPICKER1); 
   ASSERT(pCtrl != NULL); 

   // The control will create itself with a format that matches the  
   // locale setting in Control Panel. But we can force a particular  
   // format with a call to SetFormat(). This call forces the format  
   // dd-MMM-yy, which would show 03-APR-98 for April 3rd, 1998. 

   pCtrl-&gt;SetFormat(_T(&quot;dd-MMM-yy&quot;));
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/354104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/354104</guid><dc:creator><![CDATA[hronny]]></dc:creator><pubDate>Mon, 15 Sep 2003 16:02:10 GMT</pubDate></item></channel></rss>