<?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[CreateBitmap ParameterFrage]]></title><description><![CDATA[<pre><code>HBITMAP CreateBitmap(
  int nWidth,         // bitmap width, in pixels            klar
  int nHeight,        // bitmap height, in pixels           klar
  UINT cPlanes,       // number of color planes             unklar
  UINT cBitsPerPel,   // number of bits to identify color   klar 1: monochrom
                                                                 4:  16 Farben
                                                                 8: 256 Farben
                                                                 u.s.w   
  CONST VOID *lpvBits // color data array                   klar oder auch nicht
                                                                 (muß das in Abhägigkeit der Parameter anders sein?)
);
</code></pre>
<p>Wäre sehr dankbar für eine konkrete Antwort</p>
<p>Gruß</p>
<p>Robert <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/topic/123867/createbitmap-parameterfrage</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Jul 2026 01:12:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/123867.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Oct 2005 21:58:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CreateBitmap ParameterFrage on Thu, 20 Oct 2005 21:58:41 GMT]]></title><description><![CDATA[<pre><code>HBITMAP CreateBitmap(
  int nWidth,         // bitmap width, in pixels            klar
  int nHeight,        // bitmap height, in pixels           klar
  UINT cPlanes,       // number of color planes             unklar
  UINT cBitsPerPel,   // number of bits to identify color   klar 1: monochrom
                                                                 4:  16 Farben
                                                                 8: 256 Farben
                                                                 u.s.w   
  CONST VOID *lpvBits // color data array                   klar oder auch nicht
                                                                 (muß das in Abhägigkeit der Parameter anders sein?)
);
</code></pre>
<p>Wäre sehr dankbar für eine konkrete Antwort</p>
<p>Gruß</p>
<p>Robert <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/897258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/897258</guid><dc:creator><![CDATA[Robertico]]></dc:creator><pubDate>Thu, 20 Oct 2005 21:58:41 GMT</pubDate></item><item><title><![CDATA[Reply to CreateBitmap ParameterFrage on Thu, 20 Oct 2005 23:27:57 GMT]]></title><description><![CDATA[<p>Ich denke mal, dass du in dem Buffer dann eben für jeden Pixel soviel Bits/Bytes belegst, wie du angegeben hast - außerdem noch beachten:</p>
<blockquote>
<p>Pointer to an array of color data used to set the colors in a rectangle of pixels. <strong>Each scan line in the rectangle must be word aligned (scan lines that are not word aligned must be padded with zeros).</strong></p>
</blockquote>
<p>edit: Sorry, du wolltest eine konkrete Antwort <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="🙄"
    /><br />
Musst wohl noch warten, bis jemand vorbeischaut, der sich da auskennt <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>
]]></description><link>https://www.c-plusplus.net/forum/post/897281</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/897281</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 20 Oct 2005 23:27:57 GMT</pubDate></item><item><title><![CDATA[Reply to CreateBitmap ParameterFrage on Fri, 21 Oct 2005 11:31:46 GMT]]></title><description><![CDATA[<p>Anregungen zum Denken helfen auch oft weiter.</p>
<p>Gruß Robert <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>
]]></description><link>https://www.c-plusplus.net/forum/post/897673</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/897673</guid><dc:creator><![CDATA[Robertico]]></dc:creator><pubDate>Fri, 21 Oct 2005 11:31:46 GMT</pubDate></item><item><title><![CDATA[Reply to CreateBitmap ParameterFrage on Fri, 21 Oct 2005 11:34:26 GMT]]></title><description><![CDATA[<p>Du kannst ein Farbbild auch in mehreren Ebenen speichern - erst alle Rotwerte, danach alle Grünwerte und schließlich alle Blauwerte (je in einer h*w Matrix) <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="😉"
    /> (reicht das als Anregung?)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/897678</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/897678</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 21 Oct 2005 11:34:26 GMT</pubDate></item><item><title><![CDATA[Reply to CreateBitmap ParameterFrage on Fri, 21 Oct 2005 14:52:10 GMT]]></title><description><![CDATA[<p>Ist das ein Fehler in der MSDN? Normalerweise werdei die Scanlines doch auf DWORDs ausgerichtet wie bei SetDIBits und anderen Funktionen auch?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/897906</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/897906</guid><dc:creator><![CDATA[masterofx32]]></dc:creator><pubDate>Fri, 21 Oct 2005 14:52:10 GMT</pubDate></item></channel></rss>