Dynamic changing window problem

hi,

edit: solved