|
Go4Expert Founder
|
![]() |
| 29May2006,12:20 | #11 |
|
It's good programming practice to do it this way, as from the client code you can always refer to the CMyDlg::IDD without worrying what the actual constant is.
|
|
Go4Expert Founder
|
![]() |
| 29May2006,12:25 | #12 |
|
As a quote from MSDN.
Quote:
Originally Posted by MSDN |
|
Team Leader
|
![]() |
| 3Jul2006,12:06 | #13 |
|
m_lpCmdLine Corresponds to the lpCmdLine parameter passed by Windows to WinMain. Points to a null-terminated string that specifies the command line for the application. Use m_lpCmdLine to access any command-line arguments the user entered when the application was started. m_lpCmdLine is a public variable of type LPTSTR.
Example Code: CPP
|
|
Go4Expert Member
|
|
| 30Oct2006,14:35 | #14 |
|
CObject
|
|
Go4Expert Member
|
|
| 30Oct2006,14:37 | #15 |
|
Searialization, Debugging support, Runtime time class information, compatibility with collection classes.
|
|
Go4Expert Member
|
|
| 30Oct2006,14:49 | #16 |
|
It is the base class for the MFC library message map architecture.Which maps commands/messages to the member functions to handle them. Classes derived from this are CWnd,CWinApp,CFrameWnd,CView, CDocument
Last edited by shabbir; 30Oct2006 at 14:57.. Reason: Moving question to the title |
|
Go4Expert Member
|
|
| 30Oct2006,14:53 | #17 |
|
Document/view architecture, which defines a program structure that relies on document objects to hold an application's data and on view objects to render views of that data. MFC provides the infrastructure for documents and views in the classes CDocument and CView.
example of SDI is a wordpad application Last edited by shabbir; 30Oct2006 at 14:58.. Reason: Moving question to the title |
|
Go4Expert Member
|
|
| 30Oct2006,15:03 | #18 |
|
The frame window is the application's top-level window. It's normally a WS_OVERLAPPEDWINDOW-style window with a resizing border, a title bar, a system menu, and minimize, maximize, and close buttons.
The view is a child window sized to fit the frame window so that it becomes the frame window's client area. The application's data is stored in the document object, a visible representation of which appears in the view. For an SDI application, the frame window class is derived from CFrameWnd, the document class is derived from CDocument, and the view class is derived from CView or a related class such as CScrollView. |
|
Go4Expert Member
|
|
| 30Oct2006,15:07 | #19 |
|
Using GetDocument() function within a CView class.
|
|
Go4Expert Member
|
|
| 30Oct2006,15:08 | #20 |
|
WinMain() is the entry point for window based applications.
|


