FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBrwScrollRow( )
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

XBrwScrollRow( )

Posted: Mon Nov 22, 2010 09:25 PM

Does someone know where I can find XBrwScrollRow( ) source?
Thanks in advance
Otto

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: XBrwScrollRow( )

Posted: Mon Nov 22, 2010 10:16 PM
Otto,

I found it on the end of xBrowse.c in the compiled Obj-Folder ( C - Function ).
It is not included in xBrowse.prg

Code (fw): Select all Collapse
#pragma BEGINDUMP

#include <hbapi.h>
#include <windows.h>

HB_FUNC( XBRWSCROLLROW ) // hWnd, nScroll, nHeaderHeight, nBottomInPixels
{
   HWND hWnd  = ( HWND ) hb_parnl( 1 );
   RECT rct;

   GetClientRect( hWnd, &rct );

   rct.top     += hb_parni( 3 );
   rct.bottom  = rct.top + hb_parni( 4 ) ;

   ScrollWindowEx( hWnd, 0, - hb_parni( 2 ), 0, &rct, 0, 0, 0 );
}

#pragma ENDDUMP


Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: XBrwScrollRow( )

Posted: Tue Nov 23, 2010 08:48 AM
Thank you, Uwe.
You are right. But I don’t see XBrwScrollRow( )
in the c-file of the current FiveWin version.
Best regards,
Otto
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: XBrwScrollRow( )

Posted: Tue Nov 23, 2010 10:37 AM
Otto,

a Screenshot of my Harddisk-scanresult :
( I don't understand, why it is different. Maybe it is not included anymore in new Version. )
The function also calls => ScrollWindowEx(... =>> \source\winapi\wndscrol.c



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion