Change the window state to be 2 and the border style to be 0.

Does this help?

R