int ViewGety(int vw);
Get the y coordinate of a view's location.
Return Value
Returns the y coordinate of a view's location.
Parameters
vw View handle returned from ViewAdd().
Remarks
The ViewGety() function returns the y coordinate of a view's location.
Availability
Available in DragonFireSDK 1.0 and later.
Example
Description: This example will get the y coordinate of the Ball's location.
#include "DragonFireSDK.h"
void AppMain() { int vw; int y;
vw = ViewAdd("Ball.png", 0, 0); y = ViewGety(vw); }
void AppExit() {
}
void OnTimer() {
} |