c++ - MFC: retrieve button ID programmatically -
I have a CButton object called the mouseCtrl, and in the DoDataExchange function, I have the following:
< Pre> DDX_Control (PDX, IDC_MCCHECK, mouseSoda);
Somewhere else in my program, I would like to be able to call a function / method of mousseod so that I can recover the IDCMCCCAK ID macro properly. Is there a function in MFC that can allow me to do this? thank you in advanced.
MouseSaud ()
Comments
Post a Comment