
ControlBox (Window CloseButton)
I've never used this, but I think it is what you are looking for. There are
a lot of other snippets at this guys site.
http://www.spnc.demon.co.uk/vb/vbxdis.htm
Quote:
>Hey there,
>For a project do i need some code to disable the ControlBox (Window
>CloseButton). Normally i could use "ControlBox = false", but then the icon
>will disappeare to. In some applications of Microsoft the ControlBox is
>grey (disabled) and the icon is still there. So, i need a code to make that
>CloseButton grey on a normal form.
>Thanx..