OK I almost have it working.. what I did was use OnSysCommand to take care of the calls.. however now I want to hide the task bar icon and it isn't working.. I think I need a handle to the taskbar but I am not sure how to det it.. any ideas?
void CTsuRenderCoreConsoleDlg::OnSysCommand(UINT nID, LPARAM lParam)
{
if (nID == SC_MINIMIZE) // Decide if minimize state changed
{
this->ShowWindow( SW_HIDE ); //SHould hide the task bar icon here...
MessageBox("Min"

;
CDialog::OnSysCommand(nID, lParam);//Take careof the normal params
}
else if (nID == SC_RESTORE) {
//SHould show the task bar icon here...
MessageBox("Restore"

;
CDialog::OnSysCommand(nID, lParam);//Take careof the normal params
}
else
{
CDialog::OnSysCommand(nID, lParam);
}
}
SmileeTiger