Re: Program closure



Have you tried disabling the title-bar exit button ...

EnableMenuItem(GetSystemMenu(Handle, false), SC_CLOSE, MF_DISABLED);

Alan Lloyd

.