You may be able to remove the 'x' button only but I dont know what the style constant is for it.

No events will be invoked if the user clicks on the 'x' with my code.