int ViewSetxy(int vw, int x, int y);

 

Change the location of the View to the specified x, y coordinates.

 

Return Value

 

Returns an int handle to the view.

 

Parameters

 

vw

View handle returned from ViewAdd().

 

x

x coordinate.

 

y

y coordinate.

 

Remarks

 

Change the location of the View to the specified x, y coordinates.

 

Availability

 

Available in DragonFireSDK 1.0 and later.

 

Example

 

Description: This example will display Ball.png at coordinates 0,0 (upper left corner of screen) and then change the coordinates to 100, 100.

 

#include "DragonFireSDK.h"

 

void AppMain()

{

  int vw;

 

  vw = ViewAdd("Ball.png", 0, 0);

  ViewSetxy(vw, 100, 100);

}

 

void AppExit()

{

 

}

 

void OnTimer()

{

 

}