Lists::Scroll

 

This method is used to reflect the changes due to a mouse scroll.

 

 

Syntax

 

void  Scroll(

          int val

) ;

 

 

Parameters

 

val

          Number of scroll click.

 

 

Return value

 

This method does not return a value.

 

 

Remarks

 

Lists.Scroll will also update the graphic.

 

 

Requirements

 

Header:

          TomoVision_Util.hpp

          TomoVision_Tools.hpp

 

Library:

          TomoVision_Util.lib

          TomoVision_Tools.lib

 

 

Example

 

static          Lists          demo ;

 

extern "C" __declspec(dllexport) int          Ctrl_Scroll( HWND wnd, int count, short x, short y )

{

          // ------------------------------------------------

          if ( demo.Select( KEY_QUERY ) ) {

              demo.Scroll( -count ) ;

              return( 1 ) ;

          }

 

          return( 0 ) ;

}

 

See also