<?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[Panel mit Maus verschieben]]></title><description><![CDATA[<p>Hallo,<br />
in Delphi verschiebe ich mit</p>
<pre><code>procedure Form1.Panel1MouseDown( usw...); 
const SC_DragMove = $F012;
begin
  ReleaseCapture;
  Panel1.Perform(WM_SYSCOMMAND,SC_DragMove,0);
  refresh;
end;
</code></pre>
<p>das Panel. Nun versuche ich das Gleiche in BCB mit</p>
<pre><code>void __fastcall TForm1::Pane11MouseDown(TObject *Sender,
      TMouseButton Button, TShiftState Shift, int X, int Y)
{
  const int SC_DragMove = $F012; 

  ReleaseCapture;
  Panel1-&gt;Perform(WM_SYSCOMMAND,SC_DragMove,0);
  Refresh();
}
</code></pre>
<p>Komme leider nicht weiter, weil ich nicht weiß, wie ich einer<br />
const int eine Hexzahl zuweise. Oder gibt es eine andere Lösung, um<br />
eine Komp mit der Maus zu verschieben?<br />
Schon jetzt, Danke für Antworten.<br />
Gruß Egbert.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/156195/panel-mit-maus-verschieben</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 20:56:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/156195.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Aug 2006 14:10:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Panel mit Maus verschieben on Mon, 14 Aug 2006 14:10:05 GMT]]></title><description><![CDATA[<p>Hallo,<br />
in Delphi verschiebe ich mit</p>
<pre><code>procedure Form1.Panel1MouseDown( usw...); 
const SC_DragMove = $F012;
begin
  ReleaseCapture;
  Panel1.Perform(WM_SYSCOMMAND,SC_DragMove,0);
  refresh;
end;
</code></pre>
<p>das Panel. Nun versuche ich das Gleiche in BCB mit</p>
<pre><code>void __fastcall TForm1::Pane11MouseDown(TObject *Sender,
      TMouseButton Button, TShiftState Shift, int X, int Y)
{
  const int SC_DragMove = $F012; 

  ReleaseCapture;
  Panel1-&gt;Perform(WM_SYSCOMMAND,SC_DragMove,0);
  Refresh();
}
</code></pre>
<p>Komme leider nicht weiter, weil ich nicht weiß, wie ich einer<br />
const int eine Hexzahl zuweise. Oder gibt es eine andere Lösung, um<br />
eine Komp mit der Maus zu verschieben?<br />
Schon jetzt, Danke für Antworten.<br />
Gruß Egbert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117011</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117011</guid><dc:creator><![CDATA[Egbert]]></dc:creator><pubDate>Mon, 14 Aug 2006 14:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to Panel mit Maus verschieben on Mon, 14 Aug 2006 14:27:23 GMT]]></title><description><![CDATA[<p>In C/C++ wird dafür das Präfix '0x' benutzt:</p>
<pre><code class="language-cpp">const int SC_DragMove = 0xF012;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1117030</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117030</guid><dc:creator><![CDATA[Th]]></dc:creator><pubDate>Mon, 14 Aug 2006 14:27:23 GMT</pubDate></item><item><title><![CDATA[Reply to Panel mit Maus verschieben on Mon, 14 Aug 2006 14:57:43 GMT]]></title><description><![CDATA[<p>Hallo TH, Danke für die prompte Antwort.<br />
Klappt wunderbar bei einem Panel. Habe das Gleiche mit einer Image versucht, geht aber leider nicht. Vielleicht hast Du da ebenfalls einen Tipp dazu.<br />
Gruß Egbert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117050</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117050</guid><dc:creator><![CDATA[Egbert]]></dc:creator><pubDate>Mon, 14 Aug 2006 14:57:43 GMT</pubDate></item><item><title><![CDATA[Reply to Panel mit Maus verschieben on Mon, 14 Aug 2006 15:27:52 GMT]]></title><description><![CDATA[<p>Siehe <a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39305" rel="nofollow">FAQ</a> unter &quot;Forms&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117068</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117068</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Mon, 14 Aug 2006 15:27:52 GMT</pubDate></item><item><title><![CDATA[Reply to Panel mit Maus verschieben on Mon, 14 Aug 2006 15:52:42 GMT]]></title><description><![CDATA[<p>Hallo Jansen, Danke für den Hinweis. Leider hatte eine diesbezgl.Suche hier keinen Erfolg. Grund war sicherlich meine falsche Fragestellung.<br />
Gruß Egbert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1117090</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1117090</guid><dc:creator><![CDATA[Egbert]]></dc:creator><pubDate>Mon, 14 Aug 2006 15:52:42 GMT</pubDate></item></channel></rss>