to add SetCursor change for the hide