Using the SetPropertyHandleDynamic() function requires a dynamic (virtual) control. Otherwise the function fails.