Get resource ID from class member CEdit, MFC

1.3k Views Asked by At

I'm using Visual Studio 2010 to create a MFC application. I've created a simple dialog with the help of the recource editor. The dialog contains a number of Edit Controls. I've added members to those Edit Controls by rightclicking on them - > Add Variable. Lets say I have an Edit Control with ID = ID_EDB_NAME and lets say ID_EDB_NAME = 1111 for this example.I have added a variable CEdit m_edbName. Is there any method that I can call from m_edbName that returns 1111?

0

There are 0 best solutions below