XBrwScrollRow( )

XBrwScrollRow( )

Postby Otto » Mon Nov 22, 2010 9:25 pm

Does someone know where I can find XBrwScrollRow( ) source?
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: XBrwScrollRow( )

Postby ukoenig » 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: Select all  Expand view

#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 :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: XBrwScrollRow( )

Postby Otto » Tue Nov 23, 2010 8: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
Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: XBrwScrollRow( )

Postby ukoenig » 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

Image

Best Regards
Uwe :roll:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], nageswaragunupudi, RSalazarU and 76 guests