I'm a newbie learning to make a MFC App C++ in Visual Studio 2019.
I have 1 EDIT CONTROL, ID = txtResult, with a value CString variable resultText
.
I have a group of 2 RADIO BUTTONS:
- ID: btnUp
- ID: btnLow
and I have 1 "Apply" BUTTON with ID = btnApply.
I tried adding a variable to the radio button itself (Right-Click, Add Variable, Category: Value, bool variable radioUp) but I get an error as soon as I run with that added in dlgdata.cpp
.
Debug Assertion Failed! File: d:\agent_work\3\s\src\vctools\VC7Libs\Ship\ATLMFC\Src\MFC\dlgdata.cpp Line: 269
The error is getting in the way; it doesn't seem to like me assigning a bool variable to the radio button itself.