Determine if a control surface is shown
ph
int PtSurfaceIsShown( PtSurface_t *surface) This macro evaluates to nonzero if the provided surface is being shown. Otherwise, it evaluates to 0.
Nonzero if the surface is shown, 0 if it's hidden.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtHideSurface(), PtHideSurfaceByAction(), PtShowSurface(), PtShowSurfaceByAction(), PtSurfaceIsHidden()
Control Surfaces chapter of the Photon Programmer's Guide