Hi,

I've strange behavior :
if i create a dialog with stlye WS_CHILD and parent wnd NULL, and call
AfxMessageBox on one of its child controls handlers i'll got a lock.If
i remove style WS_CHILD or set not NULL parent, AfxMessageBox'll work
ok.
But dialog's child edit box will not be able to get a focus via mouse
click.On the the other hand if i dont remove WS_CHILD style from
dialog, even if i created it with NULL parent, edit box will get focus
without any problems(but got lock with message box).

Could somebody give me a hint?

Thanks