Create hidden SDI application

Written by kishore


Hi,

I need to create a single document instance(SDI) application to initialize hidden. but when I remove show window and update window lines, the application initialize main window visible. How can I do it ?!?

CSingleDocTemplate* pDocument = new CSingleDocTemplate(IDR_MAINFRAME, RUNTIME_CLASS(MyDocument), RUNTIME_CLASS(MyMainFrame), RUNTIME_CLASS(MyView));

MyView = CFormView
MyMainFrame = CMainFrame
MyDocument = CDocument

Thanks in advance,

Read more:
Create hidden SDI application

Related posts:

  1. sizing the window and background color I have 6.0 C++ code that listed below. ...
  2. How can set focus in Main window in SDI? Hi all, i m using SDI application, i m...
  3. value that should be passed in MAKEINTRESOURCE function for application main icon Hi all, I want to find my application main...
  4. How to create a DCOM Server application using VS 2005? Hi, I need to create a DCOM Server application...
  5. Embedding a DirectX application into another windows application Hi everyone! I am just faced with a pretty...

Related posts brought to you by Yet Another Related Posts Plugin.

Jan
05

Leave a Reply