Often time I need to add a control to a dialog after the dialog has been generated via dialog template and CreateDialogIndirect. In these cases the tab order is set by the
I know this is an old question but here is how to do it at compile time (which is preferable in the vast majority of cases): http://msdn.microsoft.com/en-us/library/7039hzb0(v=vs.80).aspx
My favourite method: