Associating a CComboBox with a CRadioButton option on a CTaskDialog

64 Views Asked by At

I have been playing around with the CTaskDialog. At the moment I have this:

Task Dialog

The code at the moment is quite simple:

CTaskDialog dlg(_T("Reminder 1.\n\nReminder 2."), 
                _T("Important! Please read!"), 
                _T("Reminder"), TDCBF_YES_BUTTON | TDCBF_NO_BUTTON);

dlg.SetMainIcon(TD_INFORMATION_ICON);
dlg.AddRadioButton(12345, _T("Delete reminder"));
dlg.AddRadioButton(12346, _T("Repeat reminder"));
dlg.SetFooterIcon(TD_INFORMATION_ICON);
dlg.SetFooterText(_T("This is footer text"));
dlg.DoModal();

I would like to get the Repeat reminder command line to have a drop-down combo associated with it so that the user can specify the number of weeks before repeating.

I don't know if this is possible with task dialog's.

0

There are 0 best solutions below