I am using
"EZSkin - A Primitive Framework for building skinnable apps"
EZSkin - A Primitive Framework for building skinnable apps[
^]
It seems that the problem is this code "EZSkin" declare a HookProcedure
pMsgHook->m_pOldWndProc =
(WNDPROC)SetWindowLong(hwnd, GWL_WNDPROC, (DWORD)HookWndProc);
I am reading this article
http://xfgr.com/?u=pz1z8ocodeprojectb0iczvKBczvcppczvdMsgBoxz6axx3nPageFlowx1wFluid[
^]
to understand how it works
if you declare a class derived from CDialog AfxMessageBox not fail and it has the focus, if you declare a class derived from cezdialog AfxMessageBox fail and it hasnt the focus