views:

15

answers:

0

Hi

I have a MFC dialog derived from CMyDialog (is a CDialog) and try to add a control with the "add member variable wizard". But the checkbox "control variable" is grayed out. Any ideas what the problem is?

For example: I have a edit control and want to add a int variable with lower and upper border (min and max value). I need to check "control variable" and set "catagory" to value. But "control variable" is grayed out.

I tried also button or list control, but "control variable" is grayed out.