Before you can show a window ("mp_C_Logging_Control->ShowWindow( SW_SHOW )"), you must create a window. All you did was create a new instance of the object "C_Logging_Control". See the Create member function of the CWnd class.

Viggy