| 
 
Q: I am building a custom UserPane control for my dialog. But when I do a GetControlFeatureswith the control handle, I get a return value of 64, which means that the control only supports Get/Set Control Data.  Whats happening? 
A: Functions like tracking and idling need to be enabled by setting the Control Features Bits that specify which appearance compliant messages are supported for that user pane.   You can find the definition of the control feature bits in the <Controls.h> interface file.
 
 
 
 | 
kControlSupportsGhosting     = 1 << 0,
kControlSupportsEmbedding    = 1 << 1,
kControlSupportsFocus        = 1 << 2,
kControlWantsIdle            = 1 << 3,
kControlWantsActivate        = 1 << 4,
kControlHandlesTracking      = 1 << 5,
kControlSupportsDataAccess   = 1 << 6,
kControlHasSpecialBackground = 1 << 7,
kControlGetsFocusOnClick     = 1 << 8,
kControlSupportsCalcBestRect = 1 << 9,
kControlSupportsLiveFeedback = 1 << 10
 |  
 
When using a UserPane control in a 'DITL', the  Control Feature Bits are set by the initial value of that user items'CNTL'resource definition. For example, if you wanted to  support tracking and idle in your UserPane handler, you would enable thekControlHandlesTrackingandkControlWantsIdlebits by setting the initial value of 
the UserPane's'CNTL'resource definition to0x0028. |