Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How to change size of ActiveX Control to MDIChildWnd in Visual C++ 6 at run time?

$
0
0

I've created an ActiveX control using .NET and don't know how to resize my control when MDIChildWnd is changing its size

CMyControl* m_pMyControl = new CMyControl;

void CMainFrame::OnFileNewCMdiChildWnd() { CMDIChildWnd* pMDIChildWnd = new CMDIChildWnd; VERIFY(pMDIChildWnd->Create(NULL,_T("My MDIChildWnd"),
WS_CHILD | WS_VISIBLE | WS_OVERLAPPEDWINDOW,
rectDefault, this)); }





Viewing all articles
Browse latest Browse all 12583

Latest Images

Trending Articles



Latest Images