<?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[SIF_...]]></title><description><![CDATA[<p>Hi Leute</p>
<pre><code>LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
     static int  cxChar, cxCaps, cyChar, cxClient, cyClient, iMaxWidth ;
     HDC         hdc ;
     int         i, x, y, iVertPos, iHorzPos, iPaintBeg, iPaintEnd ;
     PAINTSTRUCT ps ;
     SCROLLINFO  si ;
     TCHAR       szBuffer[10] ;
     TEXTMETRIC  tm ;
     ...
case WM_SIZE:
     cxClient = LOWORD (lParam) ;
     cyClient = HIWORD (lParam) ;
     // Bereich und Seitengröße der vertikalen Bildlaufleiste
     si.cbSize = sizeof (si) ;
     si.fMask  = SIF_RANGE | SIF_PAGE | SIF_PAGE | SIF_TRACKPOS ;
     si.nMin   = 0 ;
     si.nMax   = NUMLINES - 1 ;
     si.nPage  = cyClient / cyChar ;
     SetScrollInfo (hwnd, SB_VERT, &amp;si, TRUE) ;
.....
</code></pre>
<p>Kann mir jmd sagen für was diese SIF_RANGE, SIF_PAGE, SIF_PAGE und SIF_TRACKPOS stehen?! bis jetzt weis ich nur das diese begriffe für felder oder so stehen Kann mir das jmd genauer erläutern?<br />
Albert</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/170706/sif_</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 15:27:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/170706.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Jan 2007 19:16:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SIF_... on Thu, 18 Jan 2007 19:16:27 GMT]]></title><description><![CDATA[<p>Hi Leute</p>
<pre><code>LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
     static int  cxChar, cxCaps, cyChar, cxClient, cyClient, iMaxWidth ;
     HDC         hdc ;
     int         i, x, y, iVertPos, iHorzPos, iPaintBeg, iPaintEnd ;
     PAINTSTRUCT ps ;
     SCROLLINFO  si ;
     TCHAR       szBuffer[10] ;
     TEXTMETRIC  tm ;
     ...
case WM_SIZE:
     cxClient = LOWORD (lParam) ;
     cyClient = HIWORD (lParam) ;
     // Bereich und Seitengröße der vertikalen Bildlaufleiste
     si.cbSize = sizeof (si) ;
     si.fMask  = SIF_RANGE | SIF_PAGE | SIF_PAGE | SIF_TRACKPOS ;
     si.nMin   = 0 ;
     si.nMax   = NUMLINES - 1 ;
     si.nPage  = cyClient / cyChar ;
     SetScrollInfo (hwnd, SB_VERT, &amp;si, TRUE) ;
.....
</code></pre>
<p>Kann mir jmd sagen für was diese SIF_RANGE, SIF_PAGE, SIF_PAGE und SIF_TRACKPOS stehen?! bis jetzt weis ich nur das diese begriffe für felder oder so stehen Kann mir das jmd genauer erläutern?<br />
Albert</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1212249</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1212249</guid><dc:creator><![CDATA[albertk13]]></dc:creator><pubDate>Thu, 18 Jan 2007 19:16:27 GMT</pubDate></item><item><title><![CDATA[Reply to SIF_... on Thu, 18 Jan 2007 20:22:17 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/scrollbars/scrollbarreference/scrollbarstructures/scrollinfo.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/scrollbars/scrollbarreference/scrollbarstructures/scrollinfo.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1212290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1212290</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 18 Jan 2007 20:22:17 GMT</pubDate></item><item><title><![CDATA[Reply to SIF_... on Thu, 18 Jan 2007 21:54:50 GMT]]></title><description><![CDATA[<p>ich hof ich hab des einigermasen verstanden...<br />
Danke sollte ich noch fragen haben werd ich sie posten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1212333</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1212333</guid><dc:creator><![CDATA[albertk13]]></dc:creator><pubDate>Thu, 18 Jan 2007 21:54:50 GMT</pubDate></item><item><title><![CDATA[Reply to SIF_... on Sat, 20 Jan 2007 15:05:27 GMT]]></title><description><![CDATA[<pre><code>case WM_PAINT :
          hdc = BeginPaint (hwnd, &amp;ps) ;

          si.cbSize = sizeof (si) ;
          si.fMask  = SIF_POS ;
          GetScrollInfo (hwnd, SB_VERT, &amp;si) ;
          iVertPos = si.nPos ;

          GetScrollInfo (hwnd, SB_HORZ, &amp;si) ;
          iHorzPos = si.nPos ;

          iPaintBeg = max (0, iVertPos + ps.rcPaint.top / cyChar) ;
          iPaintEnd = min (NUMLINES - 1, iVertPos + ps.rcPaint.bottom / cyChar) ;
</code></pre>
<p>Kann mir jemand die letzten beiden zeilen erklähren?</p>
<pre><code>iPaintBeg = max (0, iVertPos + ps.rcPaint.top / cyChar) ;
          iPaintEnd = min (NUMLINES - 1, iVertPos + ps.rcPaint.bottom / cyChar) ;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1213212</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1213212</guid><dc:creator><![CDATA[a103]]></dc:creator><pubDate>Sat, 20 Jan 2007 15:05:27 GMT</pubDate></item></channel></rss>