Thanks for your bug report. That is because the initdialog event takes place before the dialog is visible, so it may not be possible to activate some types of dialog items. As you have discovered, you will need to use the timer in this case.