Hi, I have a VC++ MFC dialog application and in my OnTimer function I am just trying to determine which button in my dialog currently has focus.
Here is some psuedocode of what I am trying to accomplish....
CDialog::OnTimer() { CButton *btn = GetButtonOnFocus(); int btnID = btn->GetDlgCtrlID(); }
Any help would be greatly apperciated.
Thanks