this one might help you :

function OnMoveData()
#include "Ifx.h"

Enable (STATUS);
StatusUpdate( ON, 99 );
SetStatusWindow( -1, "" );