>Why would you want to do that? Your application will work differently then all other Windows apps and that causes confusion and frustration to the user.
>
>>I would like to block users from using the X in the control box to close certain forms but would like to leave them the option of minimizing or maximizing the screens. Is there a way to do that? All I can find is options to eliminate the minimize and maximize buttons or eliminate the control box altogether.
>>Thanks and Merry Christmas to all.
I think the standard UI is to disable the close button if a form can not be closed.
If it's not broken, fix it until it is.
My Blog