change menu and set cursor when create the window