Click here to Skip to main content
15,910,211 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSearch a code MFC Pin
anaya28-Apr-03 16:59
anaya28-Apr-03 16:59 
GeneralRe: Search a code MFC Pin
David Crow29-Apr-03 3:54
David Crow29-Apr-03 3:54 
GeneralRe: Search a code MFC Pin
anaya29-Apr-03 14:38
anaya29-Apr-03 14:38 
GeneralRe: Search a code MFC Pin
David Crow30-Apr-03 2:42
David Crow30-Apr-03 2:42 
GeneralRe: Search a code MFC Pin
anaya30-Apr-03 6:06
anaya30-Apr-03 6:06 
GeneralRe: Search a code MFC Pin
David Crow30-Apr-03 6:24
David Crow30-Apr-03 6:24 
GeneralRe: Search a code MFC Pin
anaya30-Apr-03 6:28
anaya30-Apr-03 6:28 
GeneralRe: Search a code MFC Pin
David Crow30-Apr-03 8:01
David Crow30-Apr-03 8:01 
Well, assuming one of the four buttons is an Add button, you can have something like:

BEGIN_MESSAGE_MAP(CMyDialog, CDialog)
ON_BN_CLICKED(IDC_ADD, OnAdd)
END_MESSAGE_MAP()

void CMyDialog::OnAdd( void )
{
CString strText;
m_edit.GetWindowText(strText);
m_listbox.AddString(strText);
}
Generaldialog box as a main window. Pin
sathyashrayan28-Apr-03 16:57
sathyashrayan28-Apr-03 16:57 
GeneralRe: dialog box as a main window. Pin
Ernest Laurentin28-Apr-03 18:29
Ernest Laurentin28-Apr-03 18:29 
GeneralRe: dialog box as a main window. Pin
Hans Dietrich28-Apr-03 18:35
mentorHans Dietrich28-Apr-03 18:35 
GeneralRe: dialog box as a main window. Pin
sathyashrayan28-Apr-03 21:27
sathyashrayan28-Apr-03 21:27 
GeneralHOWDOI: Enumerate Group Membership on Windows 98 Pin
Paul Farry28-Apr-03 15:50
professionalPaul Farry28-Apr-03 15:50 
GeneralRe: HOWDOI: Enumerate Group Membership on Windows 98 Pin
Brian Shifrin28-Apr-03 23:58
Brian Shifrin28-Apr-03 23:58 
GeneralMore templates problems Pin
grscot28-Apr-03 14:58
grscot28-Apr-03 14:58 
GeneralRe: More templates problems Pin
HJo29-Apr-03 1:54
HJo29-Apr-03 1:54 
GeneralSquare control in MFC Dialog Pin
pitts28-Apr-03 13:23
pitts28-Apr-03 13:23 
GeneralRe: Square control in MFC Dialog Pin
Brian Shifrin28-Apr-03 14:24
Brian Shifrin28-Apr-03 14:24 
GeneralRe: Square control in MFC Dialog Pin
pitts29-Apr-03 3:28
pitts29-Apr-03 3:28 
GeneralRe: Square control in MFC Dialog Pin
Hans Dietrich28-Apr-03 18:49
mentorHans Dietrich28-Apr-03 18:49 
Generalanother template question Pin
grscot28-Apr-03 13:16
grscot28-Apr-03 13:16 
GeneralRe: another template question Pin
Phil Hamer28-Apr-03 13:33
Phil Hamer28-Apr-03 13:33 
GeneralCFile::Open access denied error Pin
IGx8928-Apr-03 12:35
IGx8928-Apr-03 12:35 
GeneralRe: CFile::Open access denied error Pin
Brian Shifrin28-Apr-03 13:07
Brian Shifrin28-Apr-03 13:07 
GeneralRe: CFile::Open access denied error Pin
IGx8929-Apr-03 12:42
IGx8929-Apr-03 12:42 

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.