<?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[COleDBRecordView::OnMove]]></title><description><![CDATA[<p>Die Ansichtsklasse meines Programms ist von COleDBRecordView abgeleitet. Laut MSDN gibts da eine Methode</p>
<p>BOOL COleDBRecordView::OnMove(UINT nIDMoveCommand),</p>
<p>die ich zur Implementierung auch brauche. Leider finde ich die nicht. Bei mir gibts nur die</p>
<p>void CMyTestView::OnMove(int x, int y),</p>
<p>die ja irgendwie was mit der WM_MOVE-Nachricht zu tun hat. Wo finde ich denn die andere Funktion? :xmas2: :xmas1:</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/167095/coledbrecordview-onmove</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 12:47:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/167095.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Dec 2006 14:13:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to COleDBRecordView::OnMove on Wed, 06 Dec 2006 14:13:04 GMT]]></title><description><![CDATA[<p>Die Ansichtsklasse meines Programms ist von COleDBRecordView abgeleitet. Laut MSDN gibts da eine Methode</p>
<p>BOOL COleDBRecordView::OnMove(UINT nIDMoveCommand),</p>
<p>die ich zur Implementierung auch brauche. Leider finde ich die nicht. Bei mir gibts nur die</p>
<p>void CMyTestView::OnMove(int x, int y),</p>
<p>die ja irgendwie was mit der WM_MOVE-Nachricht zu tun hat. Wo finde ich denn die andere Funktion? :xmas2: :xmas1:</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1187955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1187955</guid><dc:creator><![CDATA[AndyDD]]></dc:creator><pubDate>Wed, 06 Dec 2006 14:13:04 GMT</pubDate></item><item><title><![CDATA[Reply to COleDBRecordView::OnMove on Wed, 06 Dec 2006 16:51:59 GMT]]></title><description><![CDATA[<p>Was heißt Du findest es nicht. COleDbRecordView::OnMove ist definiert.<br />
Siehe afxoledb.h!</p>
<p>Evtl. musst Du es halt selbst überschreiben, wenn es Dir der Wizard nicht anbietet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188049</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188049</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 06 Dec 2006 16:51:59 GMT</pubDate></item><item><title><![CDATA[Reply to COleDBRecordView::OnMove on Thu, 07 Dec 2006 15:35:19 GMT]]></title><description><![CDATA[<p>Martin Richter schrieb:</p>
<blockquote>
<p>Was heißt Du findest es nicht. COleDbRecordView::OnMove ist definiert.<br />
Siehe afxoledb.h!</p>
<p>Evtl. musst Du es halt selbst überschreiben, wenn es Dir der Wizard nicht anbietet.</p>
</blockquote>
<p>Ich weiß das die definiert ist, steht ja auch in der MSDN. Das selbst überschreiben habe ich auch versucht, der Compiler meckert, dass die von mir angebotene Version nicht mit den ihm bekannten übereinstimmt. Weder unter Meldungen noch Überschreibungen ist da was zu finden. Nur die Methode auf das WM_MOVE-Ereignis, aber die hat als Rückgabewert void und als Parameter zwei ints. Un die ist es garantiert nicht. Was mach ich da falsch? Sollte ich vielleciht mal die afxoledb.h einbinden? Aber die muss die IDE schon kennen, sonst düfte er ja die Klasse nicht finden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188439</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188439</guid><dc:creator><![CDATA[AndyDD]]></dc:creator><pubDate>Thu, 07 Dec 2006 15:35:19 GMT</pubDate></item><item><title><![CDATA[Reply to COleDBRecordView::OnMove on Thu, 07 Dec 2006 15:42:17 GMT]]></title><description><![CDATA[<p>wie leitest du den deine classe von COleDbRecordView ab und die *.h von der du deine classe ableitest (COleDbRecordView) sollte zumindest in die header deiner abgeleiteten classe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188444</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188444</guid><dc:creator><![CDATA[LowFly]]></dc:creator><pubDate>Thu, 07 Dec 2006 15:42:17 GMT</pubDate></item><item><title><![CDATA[Reply to COleDBRecordView::OnMove on Thu, 14 Dec 2006 14:39:48 GMT]]></title><description><![CDATA[<p>Sorry, hat es was gedauert. Ich leite das wie folgt ab (ist eine normale View-Klasse eines SDI-Projektes):</p>
<pre><code class="language-cpp">//.h
class CMyTestView : public COleDBRecordView
{
protected: // Nur aus Serialisierung erstellen
	CMyTestView();
	DECLARE_DYNCREATE(CMyTestView)
...
}
</code></pre>
<p>was meinst du denn damit?</p>
<p>LowFly schrieb:</p>
<blockquote>
<p>und die *.h von der du deine classe ableitest (COleDbRecordView) sollte zumindest in die header deiner abgeleiteten classe</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1191821</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1191821</guid><dc:creator><![CDATA[AndyDD]]></dc:creator><pubDate>Thu, 14 Dec 2006 14:39:48 GMT</pubDate></item><item><title><![CDATA[Reply to COleDBRecordView::OnMove on Thu, 14 Dec 2006 15:08:32 GMT]]></title><description><![CDATA[<p>damit meine ich das du die AFXOLEDB.H in MyTestView.h includet haben solltest<br />
bzw. ferner das includeverzeichniss indem die AFXOLEDB.H liegt im MFC Menuleiste Extras/Optionen Registerblatt Verzeichnisse eingetragen sein muss.</p>
<pre><code>[b]#include &lt;AFXOLEDB.H&gt;[/b]

class CMyTestView : public COleDBRecordView
{
protected: // Nur aus Serialisierung erstellen
    CMyTestView();
    DECLARE_DYNCREATE(CMyTestView)
...
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1191842</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1191842</guid><dc:creator><![CDATA[LowFly]]></dc:creator><pubDate>Thu, 14 Dec 2006 15:08:32 GMT</pubDate></item><item><title><![CDATA[Reply to COleDBRecordView::OnMove on Thu, 14 Dec 2006 15:23:49 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> thanks LowFly, es läuft damit. Hatte es anhand eines Beispiels versucht. Die hatten aber die AFXOLEDB.H nicht includiert. Ich dachte durch die Vererbung wären die Eigenschaften mitgegeben und die Elternklasse hat die .h-Datei bereits includiert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1191850</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1191850</guid><dc:creator><![CDATA[AndyDD]]></dc:creator><pubDate>Thu, 14 Dec 2006 15:23:49 GMT</pubDate></item></channel></rss>