minimize CDialog without OnActivate

According to my loggings my CDialog is minimized without running through my OnActivate function.
Is there any scenario, which can explain this behavior?
Topic archived. No new replies allowed.