Programming implementation of irregular forms in Windows