Hi,
Given a pointer to a control (radiobutton) on a dialog box, how can I retrieve the control's resource ID?
Please help. Thanks.
Printable View
Hi,
Given a pointer to a control (radiobutton) on a dialog box, how can I retrieve the control's resource ID?
Please help. Thanks.
pYourRadioButton->GetDlgCtrlID() will do it for you.
Chris Richardson
Use GetDlgCtrlID()
thanks everyone.