Oh, sorry, I didn't notice that reference to GetDlgCtrlID,
That should do it, thanks!