<?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[Bitmaps]]></title><description><![CDATA[<p>hallo,<br />
also ich habe eine Dialogfeldbasierende Anwendung.<br />
In der hab ich nen int-array, von der größe z.B. 5*5.<br />
Dieses Array hat drei werte: 1 2 5.<br />
Weiterhin hab ich in meine Ressourcen drei Bilder ( bitmaps ).</p>
<p>Nun möchte ich das Array abgehen, mach ich mit for-schleifen, ganz klar,<br />
und wenn array-wert = 1, dann möchte ich bild nummer eins setzen, array-wert = 2 dann möchte ich Bild nummer 2 setzen, usw...</p>
<p>Doch wie mach ich das??? Was muss ich da machen?</p>
<p>Die Hilfe-von MVC++ versteh ich net!!</p>
<p>Wäre dankbar wenn ihr mir helft, also schon mal im voraus: DANKE !!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/53343/bitmaps</link><generator>RSS for Node</generator><lastBuildDate>Mon, 01 Jun 2026 07:27:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/53343.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Oct 2003 13:01:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bitmaps on Tue, 28 Oct 2003 13:01:21 GMT]]></title><description><![CDATA[<p>hallo,<br />
also ich habe eine Dialogfeldbasierende Anwendung.<br />
In der hab ich nen int-array, von der größe z.B. 5*5.<br />
Dieses Array hat drei werte: 1 2 5.<br />
Weiterhin hab ich in meine Ressourcen drei Bilder ( bitmaps ).</p>
<p>Nun möchte ich das Array abgehen, mach ich mit for-schleifen, ganz klar,<br />
und wenn array-wert = 1, dann möchte ich bild nummer eins setzen, array-wert = 2 dann möchte ich Bild nummer 2 setzen, usw...</p>
<p>Doch wie mach ich das??? Was muss ich da machen?</p>
<p>Die Hilfe-von MVC++ versteh ich net!!</p>
<p>Wäre dankbar wenn ihr mir helft, also schon mal im voraus: DANKE !!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/381281</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/381281</guid><dc:creator><![CDATA[TRaTaHUaLPa]]></dc:creator><pubDate>Tue, 28 Oct 2003 13:01:21 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmaps on Tue, 28 Oct 2003 14:30:17 GMT]]></title><description><![CDATA[<p>0_o</p>
<pre><code class="language-cpp">int arr[NB_ARR_VALUES][NB_ARR_VALUES];
// hier bekommt das ding werte

CBitmap bitmap1;
CBitmap bitmap2;
CBitmap bitmap3;
bitmap1.LoadBitmap(IDB_BITMAP1);
bitmap2.LoadBitmap(IDB_BITMAP2);
bitmap3.LoadBitmap(IDB_BITMAP3);

for(int x=0;x&lt;NB_ARR_VALUES;x++)
{
   for(int y=0;y&lt;NB_ARR_VALUES;y++)
   {
      switch(arr[x][y])
      {
         case 1:
           // mach was mit bitmap1
           break;
         case 2:
           // mach was mit bitmap2
           break;
         case 3:
           // mach was mit bitmap3
           break;
      }
   }
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/381355</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/381355</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Tue, 28 Oct 2003 14:30:17 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmaps on Tue, 28 Oct 2003 16:02:12 GMT]]></title><description><![CDATA[<p>vielen, vielen dank...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/381417</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/381417</guid><dc:creator><![CDATA[TRaTaHUaLPa]]></dc:creator><pubDate>Tue, 28 Oct 2003 16:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmaps on Tue, 28 Oct 2003 18:52:35 GMT]]></title><description><![CDATA[<p>Ich habe eine ähnliche Frage vor 2 Wochen gestellt. Schau mal auf Seite 3 bis 5 nach. Noch besser, such in der Suche nach Bitmap.<br />
Turbobrain <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/381520</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/381520</guid><dc:creator><![CDATA[turbobrain]]></dc:creator><pubDate>Tue, 28 Oct 2003 18:52:35 GMT</pubDate></item></channel></rss>