Click here to Skip to main content
15,917,060 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mulitline Edit Box Pin
David Crow13-Aug-04 5:25
David Crow13-Aug-04 5:25 
GeneralRe: Mulitline Edit Box Pin
Johnny Peszek13-Aug-04 5:42
Johnny Peszek13-Aug-04 5:42 
GeneralRe: Mulitline Edit Box Pin
Shi Zhu14-Aug-04 5:32
Shi Zhu14-Aug-04 5:32 
GeneralRe: Mulitline Edit Box Pin
Johnny Peszek16-Aug-04 1:53
Johnny Peszek16-Aug-04 1:53 
GeneralRe: Mulitline Edit Box Pin
Jeremy Falcon13-Aug-04 6:54
professionalJeremy Falcon13-Aug-04 6:54 
GeneralRe: Mulitline Edit Box Pin
Johnny Peszek13-Aug-04 7:34
Johnny Peszek13-Aug-04 7:34 
Generalproblem while adding record in MFC database application Pin
skgk13-Aug-04 5:00
skgk13-Aug-04 5:00 
GeneralRe: problem while adding record in MFC database application Pin
David Crow13-Aug-04 5:34
David Crow13-Aug-04 5:34 
You need something like:

void CAddbookView::OnAddClick() 
{
    CString strName,
            strAddr;
 
    // m_name and m_addr are CEdit member variables
    m_name.GetWindowText(strName);
    m_addr.GetWindowText(strAddr);
 
    m_pSet->AddNew();
    m_pSet->name = strName;
    m_pSet->addr = strAddr;
    m_pSet->Update();
}
Make sense?


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: problem while adding record in MFC database application Pin
skgk17-Aug-04 3:55
skgk17-Aug-04 3:55 
GeneralRe: problem while adding record in MFC database application Pin
David Crow17-Aug-04 4:11
David Crow17-Aug-04 4:11 
QuestionHow to call and execute parameter query with ADO? Pin
george ivanov13-Aug-04 4:23
george ivanov13-Aug-04 4:23 
GeneralStatic text disappears after losing focus Pin
shultas13-Aug-04 4:12
shultas13-Aug-04 4:12 
GeneralRe: Static text disappears after losing focus Pin
Ravi Bhavnani13-Aug-04 4:48
professionalRavi Bhavnani13-Aug-04 4:48 
GeneralRe: Static text disappears after losing focus Pin
shultas13-Aug-04 5:04
shultas13-Aug-04 5:04 
GeneralRe: Static text disappears after losing focus Pin
David Crow13-Aug-04 5:37
David Crow13-Aug-04 5:37 
GeneralRe: Static text disappears after losing focus Pin
Ravi Bhavnani13-Aug-04 10:48
professionalRavi Bhavnani13-Aug-04 10:48 
GeneralWindows message handling with different threads. Pin
Moak13-Aug-04 4:12
Moak13-Aug-04 4:12 
GeneralRe: Windows message handling with different threads. Pin
David Crow13-Aug-04 7:11
David Crow13-Aug-04 7:11 
GeneralRe: Windows message handling with different threads. Pin
MoakInternetcafe15-Aug-04 4:46
sussMoakInternetcafe15-Aug-04 4:46 
GeneralIt seems nobody here knows how to do this!!! Pin
CreepingFeature13-Aug-04 3:57
CreepingFeature13-Aug-04 3:57 
GeneralRe: It seems nobody here knows how to do this!!! Pin
David Crow13-Aug-04 4:04
David Crow13-Aug-04 4:04 
GeneralRe: It seems nobody here knows how to do this!!! Pin
Tom Dziedzic13-Aug-04 8:09
Tom Dziedzic13-Aug-04 8:09 
GeneralRe: It seems nobody here knows how to do this!!! Pin
David Crow13-Aug-04 10:10
David Crow13-Aug-04 10:10 
GeneralRe: It seems nobody here knows how to do this!!! Pin
Rick York13-Aug-04 12:34
mveRick York13-Aug-04 12:34 
GeneralRe: It seems nobody here knows how to do this!!! Pin
David Crow16-Aug-04 2:17
David Crow16-Aug-04 2:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.