IDs not listed in MFC ClassWizard

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I create a Static Text box in Visual Basic 6, the name (IDC_STATIC) is not listed in MFC ClassWizard->Member Variables. It only appears if I change the name.
 
jfishburn said:
When I create a Static Text box in Visual Basic 6, the name (IDC_STATIC)
is not listed in MFC ClassWizard->Member Variables. It only appears if I
change the name.

I presume you mean Visual C? If so, then yes this is true. IDC_STATIC is
special in that it is used as the id for multiple controls -- ones that you
don't care about notification from. The Wizard is forcing you to pick a
unique ID for the control.
 
Back
Top