Retrieve a widget's flags
long PtWidgetFlags( PtWidget_t *widget );
This function retrieves a widget's flags. For the meanings of the bits in this flag variable, see:
Or
Photon
PtWidgetClassFlags()