<?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[Mein Tooltip wird gar nicht angezeigt!]]></title><description><![CDATA[<p>Hi,</p>
<p>mein Programm ist so weit das er das Icon in die Taskbar reinmacht, aber irgendwie will mein Tooltip nicht :(!</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;commctrl.h&gt;

#include &quot;resource.h&quot;

void fnToolTip(HWND, UINT, WPARAM, LPARAM, char *);
void fnIconTray(HWND, BOOL);

HINSTANCE hPREV_OF;
HICON hIcon;

static UINT s_uTaskbarRestart;

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdLine)
{

hPREV_OF = hInstance;

s_uTaskbarRestart = RegisterWindowMessage (TEXT(&quot;TaskbarCreated&quot;));

hIcon = (HICON)LoadImage (hPREV_OF, &quot;icon1.ico&quot;, IMAGE_ICON, 0, 0, LR_LOADFROMFILE);

fnIconTray(NULL, TRUE);

return 0;

}

void fnToolTip(HWND hWnd, UINT mSG, WPARAM wParam, LPARAM lParam, char *szText)
{

	TOOLINFO ti; 
	HWND ToolTip; 

	ToolTip = CreateWindowEx(WS_EX_TOPMOST, 
		TOOLTIPS_CLASS, 
        NULL, 
        TTS_BALLOON, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        hWnd, 
        NULL, 
        hPREV_OF, 
        NULL 
        ); 

    SetWindowPos(ToolTip, 
        HWND_TOPMOST, 
        0, 
        0, 
        0, 
        0, 
        SWP_NOMOVE); 

    ti.cbSize = sizeof(TOOLINFO); 
    ti.uFlags = TTF_SUBCLASS; 
    ti.hwnd = hWnd; 
    ti.hinst = hPREV_OF; 
    ti.uId = 0; 
	ti.lpszText = szText; 

    ti.rect.left = 0; 
    ti.rect.top = 0; 
    ti.rect.right = 100; 
    ti.rect.bottom = 100; 

    SendMessage(ToolTip, TTM_ACTIVATE, 0, (LPARAM) (LPTOOLINFO) &amp;ti); 

}

void fnIconTray(HWND hWnd, BOOL bAnzeigen)
{

 NOTIFYICONDATA tsym; // in diese Struktur kommen die Daten des Icons

    ZeroMemory (&amp;tsym, sizeof (NOTIFYICONDATA));

    if (bAnzeigen)
    {
        tsym.cbSize = sizeof (NOTIFYICONDATA);
        tsym.hWnd   = hWnd;
        tsym.uID    = IDI_ICON1;
        tsym.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE;
        tsym.uCallbackMessage = NULL;
        tsym.hIcon  = hIcon;
        strcpy (tsym.szTip, &quot;http://www.rp-homepage.com&quot;);
        Shell_NotifyIcon (NIM_ADD, &amp;tsym);
    }

    else
    {
        tsym.cbSize = sizeof (NOTIFYICONDATA);
        tsym.hWnd   = hWnd;
        tsym.uID    = IDI_ICON1;
        tsym.uFlags = 0;
        Shell_NotifyIcon (NIM_DELETE, &amp;tsym);
    }

	fnToolTip(hWnd, 0,0,0, &quot;Hallo Ich bin ein Tooltip!&quot;);

        return;

}
</code></pre>
<p>Weiß nicht woran es liegt?!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/98707/mein-tooltip-wird-gar-nicht-angezeigt</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 03:44:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/98707.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Jan 2005 16:39:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Fri, 21 Jan 2005 16:39:29 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>mein Programm ist so weit das er das Icon in die Taskbar reinmacht, aber irgendwie will mein Tooltip nicht :(!</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;commctrl.h&gt;

#include &quot;resource.h&quot;

void fnToolTip(HWND, UINT, WPARAM, LPARAM, char *);
void fnIconTray(HWND, BOOL);

HINSTANCE hPREV_OF;
HICON hIcon;

static UINT s_uTaskbarRestart;

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdLine)
{

hPREV_OF = hInstance;

s_uTaskbarRestart = RegisterWindowMessage (TEXT(&quot;TaskbarCreated&quot;));

hIcon = (HICON)LoadImage (hPREV_OF, &quot;icon1.ico&quot;, IMAGE_ICON, 0, 0, LR_LOADFROMFILE);

fnIconTray(NULL, TRUE);

return 0;

}

void fnToolTip(HWND hWnd, UINT mSG, WPARAM wParam, LPARAM lParam, char *szText)
{

	TOOLINFO ti; 
	HWND ToolTip; 

	ToolTip = CreateWindowEx(WS_EX_TOPMOST, 
		TOOLTIPS_CLASS, 
        NULL, 
        TTS_BALLOON, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        hWnd, 
        NULL, 
        hPREV_OF, 
        NULL 
        ); 

    SetWindowPos(ToolTip, 
        HWND_TOPMOST, 
        0, 
        0, 
        0, 
        0, 
        SWP_NOMOVE); 

    ti.cbSize = sizeof(TOOLINFO); 
    ti.uFlags = TTF_SUBCLASS; 
    ti.hwnd = hWnd; 
    ti.hinst = hPREV_OF; 
    ti.uId = 0; 
	ti.lpszText = szText; 

    ti.rect.left = 0; 
    ti.rect.top = 0; 
    ti.rect.right = 100; 
    ti.rect.bottom = 100; 

    SendMessage(ToolTip, TTM_ACTIVATE, 0, (LPARAM) (LPTOOLINFO) &amp;ti); 

}

void fnIconTray(HWND hWnd, BOOL bAnzeigen)
{

 NOTIFYICONDATA tsym; // in diese Struktur kommen die Daten des Icons

    ZeroMemory (&amp;tsym, sizeof (NOTIFYICONDATA));

    if (bAnzeigen)
    {
        tsym.cbSize = sizeof (NOTIFYICONDATA);
        tsym.hWnd   = hWnd;
        tsym.uID    = IDI_ICON1;
        tsym.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE;
        tsym.uCallbackMessage = NULL;
        tsym.hIcon  = hIcon;
        strcpy (tsym.szTip, &quot;http://www.rp-homepage.com&quot;);
        Shell_NotifyIcon (NIM_ADD, &amp;tsym);
    }

    else
    {
        tsym.cbSize = sizeof (NOTIFYICONDATA);
        tsym.hWnd   = hWnd;
        tsym.uID    = IDI_ICON1;
        tsym.uFlags = 0;
        Shell_NotifyIcon (NIM_DELETE, &amp;tsym);
    }

	fnToolTip(hWnd, 0,0,0, &quot;Hallo Ich bin ein Tooltip!&quot;);

        return;

}
</code></pre>
<p>Weiß nicht woran es liegt?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/702619</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702619</guid><dc:creator><![CDATA[Spielgrips]]></dc:creator><pubDate>Fri, 21 Jan 2005 16:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Fri, 21 Jan 2005 16:51:03 GMT]]></title><description><![CDATA[<p>soweit ich das sehe wird dein programm gleich beendet. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f4a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--light_bulb"
      title=":bulb:"
      alt="💡"
    /></p>
<p>wo ist deine msg loop?<br />
wieso noch ein tooltip? NOTIFYICONDATA hat doch schon nen tip.</p>
<p>noch nen kleines tut zum thema<br />
<a href="http://www.winapi.net/index.php?inhalt=s16" rel="nofollow">http://www.winapi.net/index.php?inhalt=s16</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/702635</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702635</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Fri, 21 Jan 2005 16:51:03 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Fri, 21 Jan 2005 17:06:23 GMT]]></title><description><![CDATA[<p>Weil ich kein Fenster erstellen möchte <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="🙂"
    /> Ich möchte nur ein Icon erstellen wo ich dann verschiene Tipps abgeben kann.. Ich kann Win32 API etwas einigermaßen, hab auch das Buch dazu, aber leider ist nix über das drin :(!</p>
<p>Wenn ich eine Nachrichtenschleife reinsetzen würde, hat das doch kein Sinn oda? Weil wie sag ich der Nachrichtenschleife das sie statt an die WinProc an meine Icon Tray Funktion sendet?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/702650</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702650</guid><dc:creator><![CDATA[Spielgrips]]></dc:creator><pubDate>Fri, 21 Jan 2005 17:06:23 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Fri, 21 Jan 2005 23:17:42 GMT]]></title><description><![CDATA[<p>Wo soll denn das Icon dargestellt werden? In der TNA? Dann brauchst du eine Nachrichtenschleife.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/702878</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702878</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Fri, 21 Jan 2005 23:17:42 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 08:00:51 GMT]]></title><description><![CDATA[<p>Das Problem bei Deinem Programm ist folgendes:<br />
Es startet, packt ein Icon in den System-Tray und wird sofort wieder beendet <strong>ohne das Du das Icon entfernst!</strong></p>
<p>Nur deshalb siehst Du das Icon da unten! Fahr mal mit der Maus drüber und es wird verschwinden, gell?<br />
Was Du da gebastelt hast ist ein Resource-Leak, mehr nicht...</p>
<p>Dann nochwas:<br />
Wenn Du keine Messages mit Deinem Program,m verarbeiten möchtest, warum registrierst Du Dir dann eine mittels RegisterWindowMessage? Wer, außer Dir, glaubst Du verarbeitet diese Systemweit eindeutige, nur Deinem Programm bekannte Message, wenn nicht Du?</p>
<p>Also, wie bereits gesagt: Ohne Nachrichtenschleife/prozedur wird das nix.<br />
Und, bitte räume auf beim Beenden (entferne das Icon aus dem Systemtray, gib das Handle auf das Icon (hIcon) frei usw.)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/702935</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702935</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Sat, 22 Jan 2005 08:00:51 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 10:48:25 GMT]]></title><description><![CDATA[<p>Ok, aber warum wird die Tooltip nicht angezeigt, dieser Ballong? Ich hab auch mein PSDK (SDK) drauf um das zu nutzen. In der MSDN stand auch ein Beispielcode und den habe ich auch mal reingemacht, aber da kam auch kein Ballong :(!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/702992</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/702992</guid><dc:creator><![CDATA[Spielgrips]]></dc:creator><pubDate>Sat, 22 Jan 2005 10:48:25 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 12:11:41 GMT]]></title><description><![CDATA[<p>Er wird nicht angezeigt, weil sich dein Programm sofort wieder beendet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/703045</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703045</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sat, 22 Jan 2005 12:11:41 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 12:33:53 GMT]]></title><description><![CDATA[<p>Am Programm beenden liegt es nicht! Ich hab jetzt mal ein Fenster erzeugt und das Icon Tray so gemacht das es nicht beendet wird und trotzdem kommt kein &quot;ToolTip&quot;!</p>
<pre><code class="language-cpp">#define _WIN32_IE 0x0600 

#include &lt;windows.h&gt;
#include &lt;commctrl.h&gt;

#include &quot;resource.h&quot;

#define WM_ICONCLICK (WM_APP+0)

void fnToolTip(HWND, WPARAM, LPARAM, char *);
void fnIconTray(HWND, BOOL);

LRESULT CALLBACK fnWndProc(HWND, UINT, WPARAM, LPARAM);

HINSTANCE hPREV_OF;
HICON hIcon;

static UINT s_uTaskbarRestart;

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdLine)
{

MSG msg;
HWND hWnd;

WNDCLASS wndclass;
hPREV_OF = hInstance;

wndclass.style = CS_HREDRAW | CS_VREDRAW;
wndclass.lpfnWndProc = fnWndProc;
wndclass.cbClsExtra = 0;
wndclass.cbWndExtra = 0;
wndclass.hInstance = hInstance;
wndclass.hIcon = (HICON)LoadIcon(hInstance, reinterpret_cast&lt;const char *&gt;(IDI_ICON1));
wndclass.hCursor = LoadCursor(hInstance, IDC_HAND);
wndclass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
wndclass.lpszMenuName = 0;
wndclass.lpszClassName = reinterpret_cast&lt;LPCTSTR&gt;(&quot;mywindow&quot;);

if (!RegisterClass(&amp;wndclass))
{

	MessageBox(NULL, reinterpret_cast&lt;LPCTSTR&gt;(&quot;Leider konnte die Klasse nicht geladen werden!&quot;), reinterpret_cast&lt;LPCTSTR&gt;(&quot;WNDCLASS&quot;), MB_ICONERROR);

}

hWnd = CreateWindow(&quot;mywindow&quot;, 
					&quot;MyWindow&quot;, 
					WS_OVERLAPPEDWINDOW, 
					CW_USEDEFAULT, 
					CW_USEDEFAULT,
					CW_USEDEFAULT,
					CW_USEDEFAULT,
					NULL, 
					NULL, 
					hInstance, 
					NULL);

ShowWindow(hWnd, iCmdLine);
UpdateWindow(hWnd);  

while(GetMessage(&amp;msg, NULL, 0,0))
{

TranslateMessage(&amp;msg);
DispatchMessage(&amp;msg);

}

return msg.wParam;

}

void fnToolTip(HWND hWnd, WPARAM wParam, LPARAM lParam, char *szText)
{

	TOOLINFO ti; 
	HWND ToolTip; 

	ToolTip = CreateWindowEx(WS_EX_TOPMOST, 
		TOOLTIPS_CLASS, 
        NULL, 
        TTS_BALLOON, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        CW_USEDEFAULT, 
        hWnd, 
        NULL, 
        hPREV_OF, 
        NULL 
        ); 

    SetWindowPos(ToolTip, 
        HWND_TOPMOST, 
        0, 
        0, 
        0, 
        0, 
        SWP_NOMOVE); 

    ti.cbSize = sizeof(TOOLINFO); 
    ti.uFlags = TTF_SUBCLASS; 
    ti.hwnd = hWnd; 
    ti.hinst = hPREV_OF; 
    ti.uId = 0; 
	ti.lpszText = szText; 

    ti.rect.left = 0; 
    ti.rect.top = 0; 
    ti.rect.right = 100; 
    ti.rect.bottom = 100; 

    SendMessage(ToolTip, TTM_ACTIVATE, (WPARAM) wParam, (LPARAM) lParam);

}

void fnIconTray(HWND hWnd, BOOL bAnzeigen)
{

	NOTIFYICONDATA tsym; 

    ZeroMemory (&amp;tsym, sizeof (NOTIFYICONDATA));

    if (bAnzeigen)
    {
        tsym.cbSize = sizeof (NOTIFYICONDATA);
        tsym.hWnd   = hWnd;
        tsym.uID    = IDI_ICON1;
        tsym.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE;
        tsym.uCallbackMessage = NULL;
        tsym.hIcon  = hIcon;
        strcpy (tsym.szTip, &quot;http://www.rp-homepage.com&quot;);
        Shell_NotifyIcon (NIM_ADD, &amp;tsym);
    }

    else
    {
        tsym.cbSize = sizeof (NOTIFYICONDATA);
        tsym.hWnd   = hWnd;
        tsym.uID    = IDI_ICON1;
        tsym.uFlags = 0;
        Shell_NotifyIcon (NIM_DELETE, &amp;tsym);
    }

}

LRESULT CALLBACK fnWndProc(HWND hWnd, UINT mSG, WPARAM wParam, LPARAM lParam)
{

switch(mSG)
{

case WM_CREATE:

	s_uTaskbarRestart = RegisterWindowMessage (TEXT(&quot;TaskbarCreated&quot;));

	hIcon = (HICON)LoadImage (hPREV_OF, &quot;icon1.ico&quot;, IMAGE_ICON, 0, 0, LR_LOADFROMFILE);

	fnIconTray(hWnd, TRUE);

	fnToolTip(hWnd, wParam, lParam, &quot;Hallo!!&quot;);

	break;

case WM_ICONCLICK:

	switch(lParam)
    {

	case WM_LBUTTONUP: // linke Maustaste

		MessageBox (hWnd, &quot;Maustaste links&quot;, &quot;Taskbar Icon&quot;, NULL);

		break;

	case WM_RBUTTONUP: // rechte Maustaste

		MessageBox (hWnd, &quot;Maustaste rechts&quot;, &quot;Taskbar Icon&quot;, NULL);

		break;

	}

	return 0;

	case WM_CLOSE:

		DestroyIcon (hIcon); 
		PostQuitMessage(0);

		break;

default:

	if (mSG == s_uTaskbarRestart)
        fnIconTray(hWnd, TRUE);

	break;

}

return DefWindowProc(hWnd, mSG, wParam, lParam);

}
</code></pre>
<p>Weiß einfach nicht woran das liegt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/703071</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703071</guid><dc:creator><![CDATA[Spielgrips]]></dc:creator><pubDate>Sat, 22 Jan 2005 12:33:53 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 12:41:38 GMT]]></title><description><![CDATA[<p>Prüf mal Rückgabewert von Shell_NotifyIcon() und check mal ob das Icon auch wirklich geladen wird...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/703080</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703080</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Sat, 22 Jan 2005 12:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 12:54:08 GMT]]></title><description><![CDATA[<p>Das Icon wird ja geladen, ich seh es ja im Tray. Aber der ToolTip wird nicht geladen, bitte nicht verwechseln den Icon Tray Tooltip der vom Icon mitgeliefert wird, sondern dieser Tooltip Ballong!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/703095</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703095</guid><dc:creator><![CDATA[Spielgrips]]></dc:creator><pubDate>Sat, 22 Jan 2005 12:54:08 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 16:11:50 GMT]]></title><description><![CDATA[<p>InitCommonControls fehlt<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/common/functions/initcommoncontrols.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/common/functions/initcommoncontrols.asp</a></p>
<p>noch a bissi was zu lesen <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="😉"
    /><br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/tooltip/usingtooltips.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/tooltip/usingtooltips.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/703296</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703296</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Sat, 22 Jan 2005 16:11:50 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 17:23:45 GMT]]></title><description><![CDATA[<p>Spielgrips schrieb:</p>
<blockquote>
<pre><code class="language-cpp">SetWindowPos(ToolTip, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE);
</code></pre>
</blockquote>
<p>Ich mag mich ja irren, aber ist es sinnvoll ein ToolTip mit der Breite/Höhe von jeweil 0 Pixeln zu basteln?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/703348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703348</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Sat, 22 Jan 2005 17:23:45 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 17:42:59 GMT]]></title><description><![CDATA[<p>habe auch noch ein paar kleine &quot;fehler&quot; bzw vorschläge</p>
<p>- reinterpret_cast weglassen --&gt; warum c++ cast und warum dann den gefährlichsten?<br />
- globale variablen vermeiden (designfrage)<br />
- fensterhandle von tooltip speichern, denn wie möchtest du den nachrichten dorthin versenden?<br />
- rückgabewert von createwindow abfragen bzw getlasterror()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/703359</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703359</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Sat, 22 Jan 2005 17:42:59 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sat, 22 Jan 2005 19:16:02 GMT]]></title><description><![CDATA[<p>Dieses rumbasteln hilft och nicht mehr, kann mir einer mal ein Beispiel coden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/703428</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703428</guid><dc:creator><![CDATA[Spielgrips]]></dc:creator><pubDate>Sat, 22 Jan 2005 19:16:02 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sun, 23 Jan 2005 10:57:02 GMT]]></title><description><![CDATA[<p>initcommoncontrols gemacht?<br />
rückgabewert von createwindow?</p>
<p>[edit]<br />
<a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/2053">@hepi</a></p>
<p>msdn schrieb:</p>
<blockquote>
<p>The window procedure for the ToolTip control automatically sets the size, position, and visibility of the control. The height of the ToolTip window is based on the height of the font currently selected into the device context for the ToolTip control. The width varies based on the length of the string currently in the ToolTip window.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/703692</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703692</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Sun, 23 Jan 2005 10:57:02 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sun, 23 Jan 2005 12:12:52 GMT]]></title><description><![CDATA[<p>Initcommoncontrols habe ich gemacht vorm erstellen.. GetLastError(); weiß ich nicht wie ich jetzt den Wert oder die Message ausgeben soll! Also per MessageBox habe ich es versucht und da kam nix :(!</p>
<p>Edit &gt;&gt; Hab das mit einer IF auswerten lassen, also die CreateWindow gibt kein NULL zurück, also wird es erzeugt :)! Aber wo bleibt es?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/703745</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703745</guid><dc:creator><![CDATA[Spielgrips]]></dc:creator><pubDate>Sun, 23 Jan 2005 12:12:52 GMT</pubDate></item><item><title><![CDATA[Reply to Mein Tooltip wird gar nicht angezeigt! on Sun, 23 Jan 2005 17:46:42 GMT]]></title><description><![CDATA[<p>Der große Fehler war die Konstante:</p>
<pre><code class="language-cpp">#define _WIN32_IE 0x0600
</code></pre>
<p>Und zwar ohne eine richtige Version anzugeben, geht das nicht, also hab ich die Konstante geändert und schon gehts!</p>
<pre><code class="language-cpp">#define _WIN32_IE 0x0501
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/703991</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/703991</guid><dc:creator><![CDATA[Spielgrips]]></dc:creator><pubDate>Sun, 23 Jan 2005 17:46:42 GMT</pubDate></item></channel></rss>