Get the control surface in front of a given one
PtSurface_t *PtSurfaceBrotherInFront( PtWidget_t *widget, PtSurface_t *surface );
This function gets the control surface in front of the surface described by surface.
A pointer to the PtSurface_t structure describing the control surface in front, or NULL if there isn't one.
PtInsertSurface(), PtInsertSurfaceById(), PtSurfaceBrotherBehind(), PtSurfaceInBack(), PtSurfaceInFront(), PtSurfaceToBack(), PtSurfaceToBackById(), PtSurfaceToFront(), PtSurfaceToFrontById()
Control Surfaces chapter of the Photon Programmer's Guide