Hi All i am a newbie to MFC, please bear with me. i am building an application with MFC, dialog view, and before the dialog should display, i want the application should get connected to my server, and for this i added created a singleton class, for connecting to the server, now i want that , when ever i click ok button a new dialog should be opened, and the application should be notified if any message is received from the server, as i am defining a singleton class, for handling windows events, and once the main dialog window is opened, the application does not process any messages received from the server any alternative or resolution for this scenario ?