SilverScreen Solid Modeler

set_location_change_handler

set_location_change_handler

Previous topic Next topic  

set_location_change_handler

Previous topic Next topic JavaScript is required for the print function  

SilverPlusRect

SilverEngineRect

 

LocationChangeHandler

  set_location_change_handler (LocationChangeHandler my_location_change_handler)

 

 

 

 

 

 



 

Synopsis

#include "silver.h"

 

The set_location_change_handler function defines a handler for SilverEngine WORLDXYZ location change notifications. This function allows the developer to refresh cursor-location-based information when the 3D cursor changes position.

 

 

Parameters

my_location_change_handler is a SilverC API function pointer to a LocationChangeHandler that is called when the WORLDXYZ location changes. It is declared as follows, and is only relevant in SilverPlus and SilverEngine development models.

 

typedef void SILVERC_API (SDCCALL *LocationChangeHandler)( void );

 

Return Value

set_location_change_handler returns a pointer to the active location change handler. Your handler should not return any value.

 

 

See Also

set_qmessage_handler, set_show_error_handler, set_status_change_handler