Solved

DoDataExchange

Posted on 2002-05-25
3
850 Views
Last Modified: 2013-11-20
Hi,

I'm using a doc/view setup with a CFormView base and II'm wondering if there is any way to force the update that DoDataExchange does.

Also, does this same method work on a dialog app?

My specific problem is that I need to detect a radio button set selection change and I dont know how...

jeff
0
Comment
Question by:jkelly061597
3 Comments
 

Accepted Solution

by:
plamtod earned 50 total points
ID: 7034523
Add DoDataExchange(...) //by AppWz if not added
{
 DDX_Check(pDX, IDC_RADIO, m_bVar );

}
include int m_bVar; //in header of FormView
in messagehandler
call UpdateData() and check value of m_bVar
0
 
LVL 1

Expert Comment

by:gurly
ID: 7034992
And yes, this method will also work in a dialog based app.
0
 

Author Comment

by:jkelly061597
ID: 7038578
thank you very much
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how do i create updater to My Activex application? 3 86
Generic progress indicator 6 116
sumNumber challenge 16 122
unix example issues 18 89
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question