http://www.codeproject.com/Messages/364745/Re-Focus-Movement.aspx
The API has changed for .NET. Just modify the sources to say
#if (_MSC_VER > 1200)
void CDropWnd::OnActivateApp(BOOL bActive, DWORD dwThreadID) {
CWnd::OnActivateApp(bActive, dwThreadID);
#else void CDropWnd::OnActivateApp(BOOL bActive, HTASK hTask) {
CWnd::OnActivateApp(bActive, hTask);
#endif if(!bActive) {
m_pComboParent->PostMessage(WM_DESTROY_DROPLIST);
}
}
in DropWnd.cpp, and
#if (_MSC_VER > 1200)
afx_msg void OnActivateApp(BOOL bActive, DWORD dwThreadID);
#else afx_msg void OnActivateApp(BOOL bActive, HTASK hTask);
#endif
in DropWnd.h
_MSC_VER returns:
1100 for VC5
1200 for VC6
1300 for .NET
and so on, so the comparison to > 1200 might be changed to equals, because they
might change the API again, who knows....
Original issue reported on code.google.com by mathias....@gmail.com on 29 Sep 2010 at 8:20
Original issue reported on code.google.com by
mathias....@gmail.com
on 29 Sep 2010 at 8:20