Hi,
I want to show/hide my MFC Dialog from another class;

Main App : HomeWorkApp
Main Dlg : HomeWorkDlg

#include "HomeWorkDlg.h"
#include "HomeWorkApp.h"

CWorkUser::CWorkUser()
{
    // Initialize MFC Dialog here..
    // How ??
    MainDlg->ShowWindow(SW_SHOW);
}

CWorkUser::~CWorkUser()
{
    // Finalize MFC Dialog here..
}

Thanks..

It will largely depend on how the dialog class is set up. Show the code for that class.