I have an MFC Dialog project in VS2005, and I would like to run a Function after OnInitDialog has finished.

Does MFC have a message or feature available that lets you run a function directly after OnInitDialog()? For example AfterInitDialog()

At the moment I am using SetTimer/OnTimer with a static bool variable to run a function shortly after OnInitDialog() just once, then ignore all the following OnTimer calls. It works, but I was just wandering if there is a 'cleaner' solution.