Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obtain control's id from lParam
#1
I wonder whether there exists a way, probably in the form of a function, to obtain the id of a dialog's control from lParam. At present I can manage it with a few "if statements" but it is not smart and, furthermore, it is not practical if the number of the controls to be checked becomes large. Any advice is mostly welcome. Many thanks in advance.
#2
If lParam is control handle, GetDlgCtrlID gets its id.
#3
Thank you !


Forum Jump:


Users browsing this thread: 1 Guest(s)