<?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[menu mit *.rc date wird nicht angezeigt]]></title><description><![CDATA[<pre><code>/*-----------------------------------------------------------------------
   HELLOWIN.C – Zeigt &quot;Hello, Windows 98!&quot; in seinem Anwendungsbereich an
                 (c) Charles Petzold, 1998
  -----------------------------------------------------------------------*/

#include &lt;windows.h&gt;
#include &quot;resource.h&quot;

LPCSTR MainClassName = &quot;Ein Menü-Beispiel&quot;;
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                    PSTR szCmdLine, int iCmdShow)
{
     static TCHAR szAppName[] = TEXT (&quot;HelloWin&quot;) ;
     HWND         hwnd ;
     MSG          msg ;
     WNDCLASS     wndclass ;

	 HMENU hmenu;

	 wndclass.style         = CS_HREDRAW | CS_VREDRAW ;
     wndclass.lpfnWndProc   = WndProc ;
     wndclass.cbClsExtra    = 0 ;
     wndclass.cbWndExtra    = 0 ;
     wndclass.hInstance     = hInstance ;
     wndclass.hIcon         = LoadIcon (NULL, IDI_APPLICATION) ;
     wndclass.hCursor       = LoadCursor (NULL, IDC_ARROW) ;
     wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH) ;
     wndclass.lpszMenuName  = MAKEINTRESOURCE(IDR_MENU1) ;
     wndclass.lpszClassName = MainClassName ;

	hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, MainClassName,
&quot;Menü Beispiel&quot;,
WS_OVERLAPPEDWINDOW|WS_VISIBLE,
CW_USEDEFAULT, CW_USEDEFAULT,
300,150,NULL,NULL,hInstance, NULL);

hmenu= GetMenu(hwnd);     
/************************************************************/

     while (GetMessage (&amp;msg, NULL, 0, 0))
     {
          TranslateMessage (&amp;msg) ;
          DispatchMessage (&amp;msg) ;
     }
     return msg.wParam ;
}

LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{	 
     switch (message)
     {          
     case WM_DESTROY:
          PostQuitMessage (0) ;
          return 0 ;
     }
     return DefWindowProc (hwnd, message, wParam, lParam) ;
}
</code></pre>
<p>resource.h:</p>
<pre><code>//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by menuscript.rc
//
#define IDR_MENU1                       101

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        102
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif
</code></pre>
<p>menuscript.rc:</p>
<pre><code>//Microsoft Developer Studio generated resource script.
//
#include &quot;resource.h&quot;

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include &quot;afxres.h&quot;

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Deutsch (Deutschland) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
#ifdef _WIN32
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_MENU1 MENU DISCARDABLE 
BEGIN
    MENUITEM &quot;haupt&quot;,                       65535
    MENUITEM &quot;haupt2&quot;,                      65535
    MENUITEM &quot;haupt3&quot;,                      65535
END

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    &quot;resource.h\0&quot;
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    &quot;#include &quot;&quot;afxres.h&quot;&quot;\r\n&quot;
    &quot;\0&quot;
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    &quot;\r\n&quot;
    &quot;\0&quot;
END

#endif    // APSTUDIO_INVOKED

#endif    // Deutsch (Deutschland) resources
/////////////////////////////////////////////////////////////////////////////

#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED
</code></pre>
<p>Das menu wird irgendwie nicht angezeigt?<br />
- kann jemand bitte helfen?! - Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/90384/menu-mit-rc-date-wird-nicht-angezeigt</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 02:52:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/90384.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Oct 2004 18:32:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 18:32:32 GMT]]></title><description><![CDATA[<pre><code>/*-----------------------------------------------------------------------
   HELLOWIN.C – Zeigt &quot;Hello, Windows 98!&quot; in seinem Anwendungsbereich an
                 (c) Charles Petzold, 1998
  -----------------------------------------------------------------------*/

#include &lt;windows.h&gt;
#include &quot;resource.h&quot;

LPCSTR MainClassName = &quot;Ein Menü-Beispiel&quot;;
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                    PSTR szCmdLine, int iCmdShow)
{
     static TCHAR szAppName[] = TEXT (&quot;HelloWin&quot;) ;
     HWND         hwnd ;
     MSG          msg ;
     WNDCLASS     wndclass ;

	 HMENU hmenu;

	 wndclass.style         = CS_HREDRAW | CS_VREDRAW ;
     wndclass.lpfnWndProc   = WndProc ;
     wndclass.cbClsExtra    = 0 ;
     wndclass.cbWndExtra    = 0 ;
     wndclass.hInstance     = hInstance ;
     wndclass.hIcon         = LoadIcon (NULL, IDI_APPLICATION) ;
     wndclass.hCursor       = LoadCursor (NULL, IDC_ARROW) ;
     wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH) ;
     wndclass.lpszMenuName  = MAKEINTRESOURCE(IDR_MENU1) ;
     wndclass.lpszClassName = MainClassName ;

	hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, MainClassName,
&quot;Menü Beispiel&quot;,
WS_OVERLAPPEDWINDOW|WS_VISIBLE,
CW_USEDEFAULT, CW_USEDEFAULT,
300,150,NULL,NULL,hInstance, NULL);

hmenu= GetMenu(hwnd);     
/************************************************************/

     while (GetMessage (&amp;msg, NULL, 0, 0))
     {
          TranslateMessage (&amp;msg) ;
          DispatchMessage (&amp;msg) ;
     }
     return msg.wParam ;
}

LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{	 
     switch (message)
     {          
     case WM_DESTROY:
          PostQuitMessage (0) ;
          return 0 ;
     }
     return DefWindowProc (hwnd, message, wParam, lParam) ;
}
</code></pre>
<p>resource.h:</p>
<pre><code>//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by menuscript.rc
//
#define IDR_MENU1                       101

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        102
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif
</code></pre>
<p>menuscript.rc:</p>
<pre><code>//Microsoft Developer Studio generated resource script.
//
#include &quot;resource.h&quot;

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include &quot;afxres.h&quot;

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Deutsch (Deutschland) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
#ifdef _WIN32
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_MENU1 MENU DISCARDABLE 
BEGIN
    MENUITEM &quot;haupt&quot;,                       65535
    MENUITEM &quot;haupt2&quot;,                      65535
    MENUITEM &quot;haupt3&quot;,                      65535
END

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    &quot;resource.h\0&quot;
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    &quot;#include &quot;&quot;afxres.h&quot;&quot;\r\n&quot;
    &quot;\0&quot;
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    &quot;\r\n&quot;
    &quot;\0&quot;
END

#endif    // APSTUDIO_INVOKED

#endif    // Deutsch (Deutschland) resources
/////////////////////////////////////////////////////////////////////////////

#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED
</code></pre>
<p>Das menu wird irgendwie nicht angezeigt?<br />
- kann jemand bitte helfen?! - Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/639807</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639807</guid><dc:creator><![CDATA[toni lla]]></dc:creator><pubDate>Thu, 28 Oct 2004 18:32:32 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 18:46:50 GMT]]></title><description><![CDATA[<p>Versuch's mal so:</p>
<pre><code class="language-cpp">wndclass.lpszMenuName = &quot;IDR_MENU1&quot;;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/639831</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639831</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 28 Oct 2004 18:46:50 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 19:15:32 GMT]]></title><description><![CDATA[<pre><code>#include &lt;windows.h&gt;
#include &quot;resource.h&quot;

LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                    PSTR szCmdLine, int iCmdShow)
{
 static TCHAR szAppName[] = TEXT (&quot;HelloWin&quot;) ;
     HWND         hwnd ;
     MSG          msg ;
     WNDCLASS     wndclass ;

     wndclass.style         = CS_HREDRAW | CS_VREDRAW ;
     wndclass.lpfnWndProc   = WndProc ;
     wndclass.cbClsExtra    = 0 ;
     wndclass.cbWndExtra    = 0 ;
     wndclass.hInstance     = hInstance ;
     wndclass.hIcon         = LoadIcon (NULL, IDI_APPLICATION) ;
     wndclass.hCursor       = LoadCursor (NULL, IDC_ARROW) ;
     wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH) ;
     wndclass.lpszMenuName  = &quot;IDR_MENU1&quot;;
     wndclass.lpszClassName = szAppName ;

     if (!RegisterClass (&amp;wndclass))
     {    // UNICODE-Compilierung ist die einzige realistische Fehlermöglichkeit 
          MessageBox (NULL, TEXT (&quot;Programm arbeitet mit Unicode und setzt Windows NT voraus!&quot;), 
                      szAppName, MB_ICONERROR) ;
          return 0 ;
     }

      hwnd = CreateWindow (szAppName,                 // Name der Fensterklasse
                  TEXT (&quot;Das erste echte Programm&quot;),  // Fenstertitel
                  WS_OVERLAPPEDWINDOW,                // Fensterstil
                  CW_USEDEFAULT,                      // X-Position des Fensters
                  CW_USEDEFAULT,                      // Y-Position des Fensters
                  CW_USEDEFAULT,                      // Fensterbreite
                  CW_USEDEFAULT,                      // Fensterhöhe
                  NULL,                               // übergeordnetes Fenster
                  NULL,                               // Menü
                  hInstance,                          // Programm-Kopiezähler (Programm-ID)
                  NULL) ;                             // zusätzliche Parameter

     ShowWindow (hwnd, iCmdShow) ;
     UpdateWindow (hwnd) ;

     while (GetMessage (&amp;msg, NULL, 0, 0))
     {
          TranslateMessage (&amp;msg) ;
          DispatchMessage (&amp;msg) ;
     }
     return msg.wParam ;
}

LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
      switch (message)
     {
     case WM_DESTROY:
          PostQuitMessage (0) ;
          return 0 ;
     }
     return DefWindowProc (hwnd, message, wParam, lParam) ;
}
</code></pre>
<p>Funktioniert immer noch nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/639869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639869</guid><dc:creator><![CDATA[toni lla]]></dc:creator><pubDate>Thu, 28 Oct 2004 19:15:32 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 20:13:44 GMT]]></title><description><![CDATA[<p>Sehe gerade, dass es über MAKEINTRESOURCE eigentlich doch gehen sollte <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /> - hast du den den rc-File dem Projekt hinzugefügt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/639911</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639911</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 28 Oct 2004 20:13:44 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 20:18:19 GMT]]></title><description><![CDATA[<p>Ich habe das jetzt mal mit dem devcpp kompiler probiert:<br />
main:</p>
<pre><code>#include &lt;windows.h&gt;

/*  Declare Windows procedure  */
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);

/*  Make the class name into a global variable  */
char szClassName[ ] = &quot;WindowsApp&quot;;
#define mymenu                       101

int WINAPI WinMain (HINSTANCE hThisInstance,
                    HINSTANCE hPrevInstance,
                    LPSTR lpszArgument,
                    int nFunsterStil)

{
    HWND hwnd;               /* This is the handle for our window */
    MSG messages;            /* Here messages to the application are saved */
    WNDCLASSEX wincl;        /* Data structure for the windowclass */

    /* The Window structure */
    wincl.hInstance = hThisInstance;
    wincl.lpszClassName = szClassName;
    wincl.lpfnWndProc = WindowProcedure;      /* This function is called by windows */
    wincl.style = CS_DBLCLKS;                 /* Catch double-clicks */
    wincl.cbSize = sizeof (WNDCLASSEX);

    /* Use default icon and mouse-pointer */
    wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
    wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
    wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
    wincl.lpszMenuName = MAKEINTRESOURCE(mymenu);                 /* No menu */
    wincl.cbClsExtra = 0;                      /* No extra bytes after the window class */
    wincl.cbWndExtra = 0;                      /* structure or the window instance */
    /* Use Windows's default color as the background of the window */
    wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;

    /* Register the window class, and if it fails quit the program */
    if (!RegisterClassEx (&amp;wincl))
        return 0;

    /* The class is registered, let's create the program*/
    hwnd = CreateWindowEx (
           0,                   /* Extended possibilites for variation */
           szClassName,         /* Classname */
           &quot;Windows App&quot;,       /* Title Text */
           WS_OVERLAPPEDWINDOW, /* default window */
           CW_USEDEFAULT,       /* Windows decides the position */
           CW_USEDEFAULT,       /* where the window ends up on the screen */
           544,                 /* The programs width */
           375,                 /* and height in pixels */
           HWND_DESKTOP,        /* The window is a child-window to desktop */
           NULL,                /* No menu */
           hThisInstance,       /* Program Instance handler */
           NULL                 /* No Window Creation data */
           );

    /* Make the window visible on the screen */
    ShowWindow (hwnd, nFunsterStil);

    /* Run the message loop. It will run until GetMessage() returns 0 */
    while (GetMessage (&amp;messages, NULL, 0, 0))
    {
        /* Translate virtual-key messages into character messages */
        TranslateMessage(&amp;messages);
        /* Send message to WindowProcedure */
        DispatchMessage(&amp;messages);
    }

    /* The program return-value is 0 - The value that PostQuitMessage() gave */
    return messages.wParam;
}

/*  This function is called by the Windows function DispatchMessage()  */

LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
    switch (message)                  /* handle the messages */
    {
        case WM_DESTROY:
            PostQuitMessage (0);       /* send a WM_QUIT to the message queue */
            break;
        default:                      /* for messages that we don't deal with */
            return DefWindowProc (hwnd, message, wParam, lParam);
    }

    return 0;
}
</code></pre>
<p>mymenu.rc:</p>
<pre><code>mymenu MENU DISCARDABLE
BEGIN
    POPUP &quot;Datei&quot;
    BEGIN
        MENUITEM &quot;Neu&quot;,                          208
        MENUITEM &quot;Öffnen...&quot;,                    207
        MENUITEM &quot;Speichern unter...&quot;,           206
        MENUITEM SEPARATOR
        MENUITEM &quot;Beenden&quot;,                      205
    END
    POPUP &quot;Eigenschaften&quot;
    BEGIN
        MENUITEM &quot;Schriftart ändern&quot;,            204
        MENUITEM &quot;Schriftfarbe ändern&quot;,          203
        MENUITEM &quot;Hintergrundfarbe ändern&quot;,      202
    END
    POPUP &quot;Über ...&quot;
    BEGIN
        MENUITEM &quot;Version&quot;,                      201
    END
END
</code></pre>
<p>Ergebnis: funktioniert nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/639913</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639913</guid><dc:creator><![CDATA[toni lla]]></dc:creator><pubDate>Thu, 28 Oct 2004 20:18:19 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 20:31:21 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">wincl.lpszMenuName = &quot;mymenu&quot;;
</code></pre>
<p>(getestet)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/639921</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639921</guid><dc:creator><![CDATA[mymenu]]></dc:creator><pubDate>Thu, 28 Oct 2004 20:31:21 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 21:19:05 GMT]]></title><description><![CDATA[<p>ich auch.</p>
<p>Ergebnis: funktioniert nicht!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/639950</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639950</guid><dc:creator><![CDATA[toni_pehla]]></dc:creator><pubDate>Thu, 28 Oct 2004 21:19:05 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 22:13:47 GMT]]></title><description><![CDATA[<p>da hast du auch keine Header mit den defines, bzw. &quot;mymenu&quot; besitzt keinen wert<br />
den der compiler identifizieren kann.<br />
Lese mal diesen <a href="http://www.c-plusplus.net/forum/viewtopic.php?t=87887" rel="nofollow">FAQ-Beitrag</a> so ab der mitte, verwendung von Resourcen, klappt<br />
beim Dev so wie es da steht, ich verwende diesen auch.<br />
Wenn doch mal dann was nicht klappt oder verstehst, dann Fragen, aber bitte mit Compiler-fehlermeldung, ist einfacher dann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/639976</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639976</guid><dc:creator><![CDATA[MiC++ha]]></dc:creator><pubDate>Thu, 28 Oct 2004 22:13:47 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Thu, 28 Oct 2004 22:37:33 GMT]]></title><description><![CDATA[<p>Es geht aber trotzdem. Man muss dann aber eben mymenu als String benutzen und nicht als ID. Ich habs ja getestet und bei mir wurde das Menü angezeigt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/639991</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/639991</guid><dc:creator><![CDATA[mymenu]]></dc:creator><pubDate>Thu, 28 Oct 2004 22:37:33 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 14:10:37 GMT]]></title><description><![CDATA[<p>Mic.. du bist geil^^.</p>
<blockquote>
<p>und über die Projekt-Optionen sollte<br />
sichergestellt werden das <strong>diese auch in die Kompilation einbezogen</strong> ist</p>
</blockquote>
<p>Project/Project Options/Files/mymenu.rc<br />
-&gt;include in compilation</p>
<p>Muss man des auch bei dem mfc++ einstellen?<br />
- weil es da auch nicht funktionierte</p>
]]></description><link>https://www.c-plusplus.net/forum/post/640396</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640396</guid><dc:creator><![CDATA[toni lla]]></dc:creator><pubDate>Fri, 29 Oct 2004 14:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 14:48:30 GMT]]></title><description><![CDATA[<p>klappt nun auch mit mvc++.<br />
Aber kann es sein das diese *.h datei immer &quot;resource.h&quot; heißen muss?<br />
- weil wenn ich diese anders nenne, kommt eine fehlermeldung in der *.rc Datei:</p>
<blockquote>
<p>fatal error RC1004: unexpected end of file found</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/640430</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640430</guid><dc:creator><![CDATA[toni lla]]></dc:creator><pubDate>Fri, 29 Oct 2004 14:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 15:41:46 GMT]]></title><description><![CDATA[<p>Hört sich eher nach einem Syntax-Fehler an <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/640493</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640493</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Fri, 29 Oct 2004 15:41:46 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 17:32:21 GMT]]></title><description><![CDATA[<p>wieso funktioniert LoadMenu() nicht?:</p>
<pre><code>int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                    PSTR szCmdLine, int iCmdShow)
{
 static TCHAR szAppName[] = TEXT (&quot;dasmenu&quot;) ;
     HWND         hwnd ;
     MSG          msg ;
     WNDCLASS     wndclass ;

     wndclass.style         = CS_HREDRAW | CS_VREDRAW ;
     wndclass.lpfnWndProc   = WndProc ;
     wndclass.cbClsExtra    = 0 ;
     wndclass.cbWndExtra    = 0 ;
     wndclass.hInstance     = hInstance ;
     wndclass.hIcon         = LoadIcon (NULL, IDI_APPLICATION) ;
     wndclass.hCursor       = LoadCursor (NULL, IDC_ARROW) ;
     wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH) ;
     wndclass.lpszMenuName  = /*&quot;mymenu&quot;*/NULL;
     wndclass.lpszClassName = szAppName ;

     if (!RegisterClass (&amp;wndclass))
     {    // UNICODE-Compilierung ist die einzige realistische Fehlermöglichkeit 
          MessageBox (NULL, TEXT (&quot;Programm arbeitet mit Unicode und setzt Windows NT voraus!&quot;), 
                      szAppName, MB_ICONERROR) ;
          return 0 ;
     }

      hwnd = CreateWindow (szAppName,                 // Name der Fensterklasse
                  TEXT (&quot;Das erste echte Programm&quot;),  // Fenstertitel
                  WS_OVERLAPPEDWINDOW,                // Fensterstil
                  CW_USEDEFAULT,                      // X-Position des Fensters
                  CW_USEDEFAULT,                      // Y-Position des Fensters
                  CW_USEDEFAULT,                      // Fensterbreite
                  CW_USEDEFAULT,                      // Fensterhöhe
                  NULL,                               // übergeordnetes Fenster
                  0,                               // Menü
                  hInstance,                          // Programm-Kopiezähler (Programm-ID)
                  NULL) ;                             // zusätzliche Parameter

     ShowWindow (hwnd, iCmdShow) ;
     UpdateWindow (hwnd) ;

	 LoadMenu(hInstance,&quot;mymenu&quot;);//&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;
     while (GetMessage (&amp;msg, NULL, 0, 0))
     {
          TranslateMessage (&amp;msg) ;
          DispatchMessage (&amp;msg) ;
     }
     return msg.wParam ;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/640583</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640583</guid><dc:creator><![CDATA[toni lla]]></dc:creator><pubDate>Fri, 29 Oct 2004 17:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 18:05:16 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">wndclass.lpszMenuName  = &quot;mymenu&quot;;
</code></pre>
<p>müsste eigentlich funktionieren<br />
und loadmenu lässt du komplett weg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/640626</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640626</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Fri, 29 Oct 2004 18:05:16 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 18:41:32 GMT]]></title><description><![CDATA[<p>ich <strong>will</strong> es aber mit loadmenu machen!<br />
-&gt; viele wege führennach rom, nicht nur einer..wäre ja schlimm <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/640669</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640669</guid><dc:creator><![CDATA[toni lla]]></dc:creator><pubDate>Fri, 29 Oct 2004 18:41:32 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 18:56:45 GMT]]></title><description><![CDATA[<p>dann müsstest du beim dritt letzten parameter von createwindow dein loadmenu schreiben. (nicht getestet und weis auch nicht ob es funktioniert)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/640686</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640686</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Fri, 29 Oct 2004 18:56:45 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 19:15:11 GMT]]></title><description><![CDATA[<p>glaube kaum das es dahin kommt, da loadmenu für dynamisches zeugs da ist</p>
]]></description><link>https://www.c-plusplus.net/forum/post/640703</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640703</guid><dc:creator><![CDATA[toni lla]]></dc:creator><pubDate>Fri, 29 Oct 2004 19:15:11 GMT</pubDate></item><item><title><![CDATA[Reply to menu mit *.rc date wird nicht angezeigt on Fri, 29 Oct 2004 19:16:54 GMT]]></title><description><![CDATA[<p>SetMenu</p>
]]></description><link>https://www.c-plusplus.net/forum/post/640705</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/640705</guid><dc:creator><![CDATA[bla bla bla]]></dc:creator><pubDate>Fri, 29 Oct 2004 19:16:54 GMT</pubDate></item></channel></rss>