See KB article 818361 concerning
disabling the close button on the title bar.
This seems to be the important part:
hWnd = ObtainWindowHandle(name);
hMenu = GetSystemMenu(hWnd, false);
DeleteMenu(hMenu, 6, 1024);
I haven't tried it. You probably have the
window handle and don't need the first line.
Get your name as your email address.
Includes spam protection, 1GB storage, no ads and more
Only $1.99/ month - visit http://www.mysite.com/name today!
Gimp-developer mailing list