<?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[CustomHint]]></title><description><![CDATA[<p>Ich habe probiert <a href="http://www.bytesandmore.de/rad/index.htm?http://www.bytesandmore.de/rad/cpp/snipp/sc02031.php" rel="nofollow">damit</a> ein eigenes Hint Fenster zu schreiben. Aber ich krieg immer einen Fehler bei</p>
<pre><code class="language-cpp">HintWindowClass = __classid(TBlueHint);
</code></pre>
<pre><code>[Linker Error] Unresolved external '__fastcall Controls::THintWindow::NCPaint(void *)' referenced from Project1.obj
</code></pre>
<p>Hatte jemand schon mal das gleiche Problem oder einen Tipp?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/101234/customhint</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 13:39:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/101234.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Feb 2005 16:18:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CustomHint on Mon, 14 Feb 2005 16:18:58 GMT]]></title><description><![CDATA[<p>Ich habe probiert <a href="http://www.bytesandmore.de/rad/index.htm?http://www.bytesandmore.de/rad/cpp/snipp/sc02031.php" rel="nofollow">damit</a> ein eigenes Hint Fenster zu schreiben. Aber ich krieg immer einen Fehler bei</p>
<pre><code class="language-cpp">HintWindowClass = __classid(TBlueHint);
</code></pre>
<pre><code>[Linker Error] Unresolved external '__fastcall Controls::THintWindow::NCPaint(void *)' referenced from Project1.obj
</code></pre>
<p>Hatte jemand schon mal das gleiche Problem oder einen Tipp?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723157</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723157</guid><dc:creator><![CDATA[__gast]]></dc:creator><pubDate>Mon, 14 Feb 2005 16:18:58 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Mon, 14 Feb 2005 18:10:21 GMT]]></title><description><![CDATA[<p>Hast Du ALLES was zum HintWindow gehoert in der HEADER- Datei geschrieben???</p>
<p>Constructor und Paint NICHT in CPP- Datei der Form.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/723257</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723257</guid><dc:creator><![CDATA[DerAltenburger]]></dc:creator><pubDate>Mon, 14 Feb 2005 18:10:21 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Tue, 15 Feb 2005 05:27:17 GMT]]></title><description><![CDATA[<p>Jetzt habe ich alles in der haeder Datei. Nun kommt:</p>
<blockquote>
<p>[C++ Error] Unit1.h(35): E2303 Type name expected<br />
[C++ Error] Unit1.h(35): E2034 Cannot convert 'TMetaClass *' to 'int'</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/723567</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723567</guid><dc:creator><![CDATA[__gast]]></dc:creator><pubDate>Tue, 15 Feb 2005 05:27:17 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Tue, 15 Feb 2005 08:30:15 GMT]]></title><description><![CDATA[<p>Merkwuerdig ist das. Bei mir klappt das problemlos.</p>
<p>Mach mal in leeres Projekt (nur eine leere Form) das:</p>
<pre><code class="language-cpp">//HEADER- DATEI UNIT1.H

#include &lt;vcl.h&gt;
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
class TColorHint: public THintWindow
{
  __fastcall TColorHint::TColorHint(TComponent * Owner):
             THintWindow(Owner)
  {
    Canvas-&gt;Font-&gt;Name=&quot;Times New Roman&quot;;
    Canvas-&gt;Font-&gt;Color=clYellow;
    Canvas-&gt;Font-&gt;Style=Canvas-&gt;Font-&gt;Style&lt;&lt;fsItalic;
    Canvas-&gt;Font-&gt;Size=12;
  }
  void __fastcall TColorHint::Paint(void)
  {
    Color=clBlue;
    TRect R=ClientRect;
    R.Left=R.Left + 2;
    R.Top=R.Top + 2;
    DrawText(Canvas-&gt;Handle,Caption.c_str(),-1, &amp;R,DT_LEFT|DT_NOPREFIX|
             DT_WORDBREAK|DrawTextBiDiModeFlagsReadingOnly());
  }
};
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// Von der IDE verwaltete Komponenten
        void __fastcall FormCreate(TObject *Sender);
private:	// Anwenderdeklarationen
public:		// Anwenderdeklarationen
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

//CPP- DATEI UNIT1.CPP

//---------------------------------------------------------------------------
#include &lt;vcl.h&gt;
#pragma hdrstop

#include &quot;Unit1.h&quot;
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormCreate(TObject *Sender)
{
  HintWindowClass=__classid(TColorHint);
  ShowHint=true;
  Hint=&quot;Jetzt wird`s bunt&quot;;
}
//---------------------------------------------------------------------------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/723638</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/723638</guid><dc:creator><![CDATA[DerAltenburger]]></dc:creator><pubDate>Tue, 15 Feb 2005 08:30:15 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Tue, 15 Feb 2005 15:28:15 GMT]]></title><description><![CDATA[<pre><code>[Linker Error] Unresolved external '__fastcall Controls::THintWindow::NCPaint(void *)' referenced from D:\BCB\PROJECTS\UNIT1.OBJ
</code></pre>
<p>Glaub mir,ich hab's so eingefügt wie du's beschrieben hast. BCB6.0 Enterprise...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724072</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724072</guid><dc:creator><![CDATA[__gast]]></dc:creator><pubDate>Tue, 15 Feb 2005 15:28:15 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Tue, 15 Feb 2005 15:34:55 GMT]]></title><description><![CDATA[<p>hab <a href="http://developpez.net/forums/viewtopic.php?p=1432826" rel="nofollow">hier</a> noch was gefunden. Aber auch so klappt es nich...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724082</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724082</guid><dc:creator><![CDATA[__gast]]></dc:creator><pubDate>Tue, 15 Feb 2005 15:34:55 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Tue, 15 Feb 2005 21:17:55 GMT]]></title><description><![CDATA[<p>Hi, ich wollte nur mal so anmerken, dass ich gerade vor exakt dem gleichen Problem sitze... ich versuch auch schon die ganze Zeit diese verdammten HintWindows zu verändern... und immer diese Meldungen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724420</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724420</guid><dc:creator><![CDATA[Windoof]]></dc:creator><pubDate>Tue, 15 Feb 2005 21:17:55 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Tue, 15 Feb 2005 21:30:59 GMT]]></title><description><![CDATA[<p>Und ja... auch wenn cih eine neue Form nehme und da den Beispielcode von Bytes And More reintue, so wie sie es sagen... nunja... kommt die gleiche Meldung: Unresolved external...</p>
<p>- Windoof</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724433</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724433</guid><dc:creator><![CDATA[Windoof]]></dc:creator><pubDate>Tue, 15 Feb 2005 21:30:59 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Tue, 15 Feb 2005 22:40:46 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Tragt mal das hier in die Klasse mit ein...</p>
<pre><code class="language-cpp">void __fastcall TBlueHint::NCPaint(HDC DC)
{
}
</code></pre>
<p>Bis dann denn,<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
Nash</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724480</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724480</guid><dc:creator><![CDATA[Nash]]></dc:creator><pubDate>Tue, 15 Feb 2005 22:40:46 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Tue, 15 Feb 2005 23:43:33 GMT]]></title><description><![CDATA[<p>Suchfunktion benutzen! Z.B.<br />
<a href="http://c-plusplus.net/forum/viewtopic.php?t=95689&amp;highlight=%2Ancpaint%2A" rel="nofollow">http://c-plusplus.net/forum/viewtopic.php?t=95689&amp;highlight=*ncpaint*</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/724504</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724504</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 15 Feb 2005 23:43:33 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Wed, 16 Feb 2005 00:56:24 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Anscheinend gibt's da Unterschiede zwischen den BCB-Versionen. Im BCB6 geht's auf jeden Fall nicht so wie anfangs beschrieben. Nur durch einfügen einer leeren NCPaint-Funktion geht's. <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=":confused:"
      alt="😕"
    /><br />
Vielleicht hat ja jemand die BCB4-Pro-Version, dann kann man ja mal den Quellcode vergleichen...</p>
<p>Bis dann denn,<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
Nash</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724513</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724513</guid><dc:creator><![CDATA[Nash]]></dc:creator><pubDate>Wed, 16 Feb 2005 00:56:24 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Wed, 16 Feb 2005 18:00:30 GMT]]></title><description><![CDATA[<p>Ja, so funktioniert es <strong>fast</strong> einwandfrei, nur wenn man 2 Elemente mit Hint-Effekten gleich nebeneinander hat und wartet, bis das HintWindow aufgeht und die Maus über das andere bewegt, zeichnet er den Rahmen des HintWindows nicht richtig... aber ich hab einfach TApplication::HintShortPause auf 100 gestellt, so blendet er es kurz wieder aus und öffnet es neu, und es funktioniert so prima <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>
<p>- Windoof</p>
]]></description><link>https://www.c-plusplus.net/forum/post/725034</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/725034</guid><dc:creator><![CDATA[Windoof]]></dc:creator><pubDate>Wed, 16 Feb 2005 18:00:30 GMT</pubDate></item><item><title><![CDATA[Reply to CustomHint on Wed, 16 Feb 2005 19:40:20 GMT]]></title><description><![CDATA[<p>Also bei mir compiliert es jetzt auch. Aber das Hint sieht immer noch aus wie vorher?!?!?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/725108</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/725108</guid><dc:creator><![CDATA[__gast]]></dc:creator><pubDate>Wed, 16 Feb 2005 19:40:20 GMT</pubDate></item></channel></rss>