Well there is not much you can do if it is a standard win32 console - you cant remove the sysmenu ( not 100% sure on this but almost :P ). The best thing you can do is disable the buttons this way:
Code:
//assuming wnd is the HWND you have from FindWindow
HMENU menu = GetSystemMenu(wnd,FALSE);
DeleteMenu(menu,SC_MINIMIZE,MF_BYCOMMAND);
DeleteMenu(menu,SC_MAXIMIZE,MF_BYCOMMAND);
DeleteMenu(menu,SC_CLOSE,MF_BYCOMMAND);
DrawMenuBar(wnd);