|
-
Jan 22nd, 2002, 12:04 AM
#1
Does MFC have Member Variable for RadioButton? [Resolved]
The RadioButton is present in the Controls palette as well as other familiar controls. But I can't assign a member variable to the radio button although I can to the other controls (I've used -- Button, EditBox StaticText).
I've assigned them their own ID "IDC_RADIO1_LAN" and another as "IDC_RADIO2_Internet", but they don't show up in the ClasWizard Control ID's under the Member Variables tab. The Object ID's exist un the Message Maps tab.
Shouldn't I be able to get something like m_LAN.Checked=TRUE or m_Internet.Checked=FALSE ? (Where m_~~~ is my assigned member variable)?
I saw a few other MFC threads. Looks like we don't like MFC here. I decided to try it again after I got pretty good at Java. I'm trying to get a chat program going in MFC. I was successfull in VB and Java but actually my disappointment in MFC led me to learn Java and hate MS. But now I crave the speed of C++. The scribble tutorial is making sense now, but I didn't go through it all--only enough to get started again. I seem to have missed the radiobutton example.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|