![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Enable a control surface
void PtEnableSurface( PtWidget_t *widget,
PtSurface_t *surface,
ulong_t flags );
void PtEnableSurfaceById( PtWidget_t *widget,
uchar_t surface_id,
ulong_t flags );
ph
These functions enable a control surface, restoring it from a disabled state. The widget argument specifies the widget owning the surface. The functions differ in the way they identify the control surface:
The flags argument specifies additional action to take, and may include the following values:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PtDisableSurface(), PtDisableSurfaceByAction(), PtDisableSurfaceById(), PtEnableSurfaceByAction(), PtSurfaceIsDisabled(), PtSurfaceIsEnabled()
Control Surfaces chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |