Sorry, but I actually donot understand the legacy concepts .. (but i was told, some code, still inherits from owl ).

Btw, now i am trying to see if i can use the ScreenToClient to move the rectangle to the right corner. Actually issue is that i donot know the width of parent window