<?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[THintWindow Frage]]></title><description><![CDATA[<p>hallo,</p>
<p>habe die application-&gt;OnHint mit einem Eventhandler belegt. und da drin folgenden code:</p>
<pre><code class="language-cpp">void __fastcall TfrmMain::DisplayHint(TObject *Sender)
{
    MSG msg;
    //frmMain-&gt;sbarAnzeige-&gt;Panels-&gt;Items[2]-&gt;Text = GetLongHint(Application-&gt;Hint);
    THintWindow *htWindow = new THintWindow(Application);
//    htWindow-&gt;ActivateHint(Rect(0,0,200,200),GetLongHint(Application-&gt;Hint));
    if(!htWindow-&gt;IsHintMsg(msg))
        htWindow-&gt;ActivateHintData(Rect(100,100,200,200),GetLongHint(Application-&gt;Hint),0);
    else
        htWindow-&gt;ReleaseHandle();
}
</code></pre>
<p>wie blendet man das fenster wieder aus? entweder zeit bedingt, oder wenn man ein anderes leeres hint aufruft?</p>
<p>achja, das standardhint ist auch noch da, kann man das komplett unterdrücken?</p>
<p>gruß gerd</p>
<p>gruß gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/119481/thintwindow-frage</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Jul 2026 08:52:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/119481.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Sep 2005 13:35:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to THintWindow Frage on Thu, 01 Sep 2005 13:36:01 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>habe die application-&gt;OnHint mit einem Eventhandler belegt. und da drin folgenden code:</p>
<pre><code class="language-cpp">void __fastcall TfrmMain::DisplayHint(TObject *Sender)
{
    MSG msg;
    //frmMain-&gt;sbarAnzeige-&gt;Panels-&gt;Items[2]-&gt;Text = GetLongHint(Application-&gt;Hint);
    THintWindow *htWindow = new THintWindow(Application);
//    htWindow-&gt;ActivateHint(Rect(0,0,200,200),GetLongHint(Application-&gt;Hint));
    if(!htWindow-&gt;IsHintMsg(msg))
        htWindow-&gt;ActivateHintData(Rect(100,100,200,200),GetLongHint(Application-&gt;Hint),0);
    else
        htWindow-&gt;ReleaseHandle();
}
</code></pre>
<p>wie blendet man das fenster wieder aus? entweder zeit bedingt, oder wenn man ein anderes leeres hint aufruft?</p>
<p>achja, das standardhint ist auch noch da, kann man das komplett unterdrücken?</p>
<p>gruß gerd</p>
<p>gruß gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862792</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862792</guid><dc:creator><![CDATA[gerd01]]></dc:creator><pubDate>Thu, 01 Sep 2005 13:36:01 GMT</pubDate></item><item><title><![CDATA[Reply to THintWindow Frage on Thu, 01 Sep 2005 13:42:05 GMT]]></title><description><![CDATA[<p>ruf <strong>htWindow-&gt;ReleaseHandle();</strong> doch einfach im OnTimer eines TTimer auf.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862799</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862799</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Thu, 01 Sep 2005 13:42:05 GMT</pubDate></item><item><title><![CDATA[Reply to THintWindow Frage on Thu, 01 Sep 2005 13:47:32 GMT]]></title><description><![CDATA[<p>hatte ich auch dran gedacht, nur finde ich es nicht so schön als lösung!</p>
<p>danke, gruß gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862802</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862802</guid><dc:creator><![CDATA[gerd01]]></dc:creator><pubDate>Thu, 01 Sep 2005 13:47:32 GMT</pubDate></item><item><title><![CDATA[Reply to THintWindow Frage on Fri, 02 Sep 2005 10:25:53 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>also irgendwie scheine ich es nicht zu kapieren, ich möchte das thintwindow steuern können, und zwar soll es immer unten angezeigt werden am bildschirm. das ganze dann so lange, bis entweder kein hint hinterlegt ist, oder das programm den fokus verliert. anzeigen selbst klappt ja dort, wo ich will, nur erstens zeigt er das originale hint mit an, und zweitens nimmt er das hint bei einem von den beiden beschriebenen möglichkeiten nicht wieder weg vom bildschirm.</p>
<p>hat vielleicht jemand mal ein stück code, wie man ein eigenes (nicht nur eingefärbt und so) THintWindow erstellt?</p>
<p>mir platzt der kopf!</p>
<p>habe auch schon überall nachgesehen, bytesandmore, borland code central und natürlich hier, aber leider nicht wesentliches gefunden. nur ein beispiel mit THintWindow::NCPaint(), aber das kapiere ich leider nicht.</p>
<p>wer ist so nett, und grieft mir mal unter die arme?</p>
<p>danke im voraus, gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/post/863478</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/863478</guid><dc:creator><![CDATA[gerd01]]></dc:creator><pubDate>Fri, 02 Sep 2005 10:25:53 GMT</pubDate></item></channel></rss>