The procedure draws the X button to the screen at (x,y). If obj is >0, the element is registered in the AutoTouch table and can be queried by GUI_TOUCH.
If obj is >0, the element is registered in the AutoTouch table and can be queried by GUI_TOUCH.