<?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[new Cursor]]></title><description><![CDATA[<p>wenn ich mir mal nen eigenen Cursor bastel will wie bekomme ich das in mein Windows program (ich mag den Standartcursor nicht mehr)???<br />
Muss ich da wass mit #include&lt;xxx.x&gt;machen???</p>
<pre><code class="language-cpp">HWND CreateMainWindow(HINSTANCE hInstance)
{
    WNDCLASSEX wndClass;                                   

    // Struktur initialisieren
    wndClass.cbSize        = sizeof(WNDCLASSEX);           
    wndClass.style         = CS_DBLCLKS | CS_OWNDC |
                             CS_HREDRAW | CS_VREDRAW;      
    wndClass.lpfnWndProc   = MessageHandler;               

    wndClass.cbClsExtra    = 0;                            
    wndClass.cbWndExtra    = 0;                            
    wndClass.hInstance     = hInstance;                   

    wndClass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);  
    wndClass.hCursor       = LoadCursor(NULL, IDC_ARROW);  // Normaler Cursor
    wndClass.lpszMenuName  = NULL;                         
    wndClass.lpszClassName = &quot;WindowClass&quot;;                
    wndClass.hIcon         = LoadIcon(NULL, IDI_WINLOGO);  
    wndClass.hIconSm       = LoadIcon(NULL, IDI_WINLOGO);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/85258/new-cursor</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 02:00:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/85258.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Sep 2004 09:47:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to new Cursor on Tue, 07 Sep 2004 09:47:50 GMT]]></title><description><![CDATA[<p>wenn ich mir mal nen eigenen Cursor bastel will wie bekomme ich das in mein Windows program (ich mag den Standartcursor nicht mehr)???<br />
Muss ich da wass mit #include&lt;xxx.x&gt;machen???</p>
<pre><code class="language-cpp">HWND CreateMainWindow(HINSTANCE hInstance)
{
    WNDCLASSEX wndClass;                                   

    // Struktur initialisieren
    wndClass.cbSize        = sizeof(WNDCLASSEX);           
    wndClass.style         = CS_DBLCLKS | CS_OWNDC |
                             CS_HREDRAW | CS_VREDRAW;      
    wndClass.lpfnWndProc   = MessageHandler;               

    wndClass.cbClsExtra    = 0;                            
    wndClass.cbWndExtra    = 0;                            
    wndClass.hInstance     = hInstance;                   

    wndClass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);  
    wndClass.hCursor       = LoadCursor(NULL, IDC_ARROW);  // Normaler Cursor
    wndClass.lpszMenuName  = NULL;                         
    wndClass.lpszClassName = &quot;WindowClass&quot;;                
    wndClass.hIcon         = LoadIcon(NULL, IDI_WINLOGO);  
    wndClass.hIconSm       = LoadIcon(NULL, IDI_WINLOGO);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/601407</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/601407</guid><dc:creator><![CDATA[Neuling2]]></dc:creator><pubDate>Tue, 07 Sep 2004 09:47:50 GMT</pubDate></item><item><title><![CDATA[Reply to new Cursor on Tue, 07 Sep 2004 10:08:30 GMT]]></title><description><![CDATA[<p>rechtsklick-&gt;einfügen-&gt;cursor</p>
<p>der hat dann ne id wie IDC_CURSOR die du verwenden kannst<br />
die ids stehen in Resource.h<br />
also wenns nicht schon eingebunden wird<br />
#include &quot;Resource.h&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/601428</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/601428</guid><dc:creator><![CDATA[Sovok]]></dc:creator><pubDate>Tue, 07 Sep 2004 10:08:30 GMT</pubDate></item></channel></rss>