CRunTimeClass with parameters
-
Hello, Can a RUNTIME_CLASS macro have a class with parameters ?
CMDIFrameWnd* pFrame = STATIC_DOWNCAST(CMDIFrameWnd,AfxGetApp()->m_pMainWnd);
CString str = "string";
pFrame->CreateNewChild(RUNTIME_CLASS(TableF(str),IDR_KTYPE, m_hMDIMenu, m_hMDIAccel);
Prithaa
-
Hello, Can a RUNTIME_CLASS macro have a class with parameters ?
CMDIFrameWnd* pFrame = STATIC_DOWNCAST(CMDIFrameWnd,AfxGetApp()->m_pMainWnd);
CString str = "string";
pFrame->CreateNewChild(RUNTIME_CLASS(TableF(str),IDR_KTYPE, m_hMDIMenu, m_hMDIAccel);
Prithaa
-
Hello, Thanks for your reply.
CMDIFrameWnd* pFrame = STATIC_DOWNCAST(CMDIFrameWnd,AfxGetApp()->m_pMainWnd);
CString str = "string";
pFrame->CreateNewChild(RUNTIME_CLASS(TableF(str),IDR_KTYPE, m_hMDIMenu, m_hMDIAccel);
so when I am making this window and I want to pass parameters what should be done.How can I trace the object of this window. Pritha