windowless shockwaveflash control doesn't work properly individually
-
In
CMyApp::InitInstance
// not work
SwfWnd * w = new SwfWnd;
SwfWnd->Create(...);
MSG msg;
While(GetMessage(&msg, SwfWnd->GetHWnd, 0, 0))
{
TranlateMessage(&msg);
Dispatch(&msg);
}
// work
SwfWnd * w = new SwfWnd;
SwfWnd->Create(...);COtherDlg dlg;
dlg.DoModal();Any way to make the 1st version work?
-
In
CMyApp::InitInstance
// not work
SwfWnd * w = new SwfWnd;
SwfWnd->Create(...);
MSG msg;
While(GetMessage(&msg, SwfWnd->GetHWnd, 0, 0))
{
TranlateMessage(&msg);
Dispatch(&msg);
}
// work
SwfWnd * w = new SwfWnd;
SwfWnd->Create(...);COtherDlg dlg;
dlg.DoModal();Any way to make the 1st version work?
Did you assign the address of the control to the m_pMainWnd member of the CWinApp object before running the message loop ?
Push Framework - now released ! http://www.pushframework.com
-
Did you assign the address of the control to the m_pMainWnd member of the CWinApp object before running the message loop ?
Push Framework - now released ! http://www.pushframework.com