More sample code and new version of DrawRect