<?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[Stuoppuhr und Rechtsklick]]></title><description><![CDATA[<p>hi ihr.</p>
<p>ja ich hab gleich 2 fragen auf einmal.</p>
<p>1. gibt es eine möglichkeit, dass man bei einem Rechtsklick auf einen Button eine ANDERE methode ausführen kann als bei einem linksklick?</p>
<p>und 2. gibt es eine möglichkeit, dass eine stoppuhr gestartet wird beim programmstart und die man mit einer funktion auch anhalten kann und die zeit auch in ein Editfeld speichern kann?</p>
<p>über hilfe währe ich dankbar</p>
<p>gruß<br />
Punkverräter</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/143915/stuoppuhr-und-rechtsklick</link><generator>RSS for Node</generator><lastBuildDate>Wed, 05 Aug 2026 02:34:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/143915.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Apr 2006 19:20:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Wed, 12 Apr 2006 19:20:04 GMT]]></title><description><![CDATA[<p>hi ihr.</p>
<p>ja ich hab gleich 2 fragen auf einmal.</p>
<p>1. gibt es eine möglichkeit, dass man bei einem Rechtsklick auf einen Button eine ANDERE methode ausführen kann als bei einem linksklick?</p>
<p>und 2. gibt es eine möglichkeit, dass eine stoppuhr gestartet wird beim programmstart und die man mit einer funktion auch anhalten kann und die zeit auch in ein Editfeld speichern kann?</p>
<p>über hilfe währe ich dankbar</p>
<p>gruß<br />
Punkverräter</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1036269</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1036269</guid><dc:creator><![CDATA[Punkverraeter]]></dc:creator><pubDate>Wed, 12 Apr 2006 19:20:04 GMT</pubDate></item><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Wed, 12 Apr 2006 19:41:25 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>1. hatten wir dioc herst vor kurzem... siee den Event <em>TButton::OnMouseDown</em><br />
2. siehe <em>TTimer</em></p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1036288</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1036288</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 12 Apr 2006 19:41:25 GMT</pubDate></item><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Wed, 12 Apr 2006 19:47:10 GMT]]></title><description><![CDATA[<p>zu 1.<br />
bei OnMouseDown bzw. OnMouseUp gibt es TMouseButton das dir übergiebt welche Maustaste gedrückt wurde.</p>
<p>zu 2.<br />
Ja klar geht das, schau dir dazu mal die Timer Komponente an</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1036293</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1036293</guid><dc:creator><![CDATA[VergissEs]]></dc:creator><pubDate>Wed, 12 Apr 2006 19:47:10 GMT</pubDate></item><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Wed, 12 Apr 2006 19:51:08 GMT]]></title><description><![CDATA[<p>also mit den Rechtsclick kennn ich mich nicht alzu gut aus. allerdings<br />
habe ich für die stoppuhr ein beispiel von igendwo gefunden.<br />
vieleicht hilft dir dies ja!</p>
<pre><code>__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
  time = new TTime();
}
//---------------------------------------------------------------------------

void __fastcall TForm1::btnstartClick(TObject *Sender)
{
  StopWatch-&gt;Enabled=true;
  btnstart-&gt;Enabled=false;
  btnstop-&gt;Enabled=true;
}
//---------------------------------------------------------------------------

void __fastcall TForm1::btnstopClick(TObject *Sender)
{
 StopWatch-&gt;Enabled=false;
 btnstart-&gt;Enabled=true;
 btnstop-&gt;Enabled=false;
}
//---------------------------------------------------------------------------

void __fastcall TForm1::StopWatchTimer(TObject *Sender)
{
time-&gt;Val = IncSecond (time-&gt;TimeString(),1);
  lblTime-&gt;Caption = time-&gt;TimeString();
}
</code></pre>
<p>du muss dafür auf ein formular die einzelnen button, timer und die label aufziehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1036296</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1036296</guid><dc:creator><![CDATA[amatuer]]></dc:creator><pubDate>Wed, 12 Apr 2006 19:51:08 GMT</pubDate></item><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Wed, 12 Apr 2006 20:38:35 GMT]]></title><description><![CDATA[<p>Bitte die Faustregel beachten: ein Thema pro Thread, <a href="http://c-plusplus.net/forum/viewtopic-var-t-is-143784.html" rel="nofollow">ein Thread</a> pro Thema. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1036336</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1036336</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Wed, 12 Apr 2006 20:38:35 GMT</pubDate></item><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Thu, 13 Apr 2006 15:15:01 GMT]]></title><description><![CDATA[<p>ok werd ich einhalten</p>
<p>das mit dem rechtsklick hab ich jetzt auch geschaft. danke für die hilfe</p>
<p>bei der stopuhr die frage: welche header datein muss ich denn einfügen? Er kennt nämlich die funktion IncSecond nicht</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1036923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1036923</guid><dc:creator><![CDATA[Punkverraeter]]></dc:creator><pubDate>Thu, 13 Apr 2006 15:15:01 GMT</pubDate></item><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Thu, 13 Apr 2006 15:17:12 GMT]]></title><description><![CDATA[<p>den Text &quot;IncSecond&quot; markieren und F1 drücken <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1036924</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1036924</guid><dc:creator><![CDATA[BigNeal]]></dc:creator><pubDate>Thu, 13 Apr 2006 15:17:12 GMT</pubDate></item><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Wed, 26 Apr 2006 11:43:53 GMT]]></title><description><![CDATA[<p>da steht aber leider nicht welche header datei eingebunden werden muss <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1045597</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1045597</guid><dc:creator><![CDATA[Punkveraeter]]></dc:creator><pubDate>Wed, 26 Apr 2006 11:43:53 GMT</pubDate></item><item><title><![CDATA[Reply to Stuoppuhr und Rechtsklick on Wed, 26 Apr 2006 12:01:06 GMT]]></title><description><![CDATA[<p>klar steht das da</p>
<p>BCB-Hilfe schrieb:</p>
<blockquote>
<p>Die Funktion IncSecond gibt einen Datums-/Zeitwert zurück, der um eine bestimmte Anzahl von Sekunden verschoben wurde.</p>
<p><strong>Unit</strong><br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> DateUtils</p>
<p><strong>Kategorie</strong><br />
Datum/Zeit</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1045618</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1045618</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Wed, 26 Apr 2006 12:01:06 GMT</pubDate></item></channel></rss>