Click here to Skip to main content
15,894,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSet Tab Focus Pin
Anthony988722-Dec-03 10:17
Anthony988722-Dec-03 10:17 
GeneralRe: Set Tab Focus Pin
David Crow22-Dec-03 11:09
David Crow22-Dec-03 11:09 
GeneralRe: Set Tab Focus Pin
ldaoust22-Dec-03 16:03
ldaoust22-Dec-03 16:03 
QuestionDrag and drop to specific item in tree? Pin
adonisv22-Dec-03 10:05
adonisv22-Dec-03 10:05 
AnswerRe: Drag and drop to specific item in tree? Pin
Michael Dunn22-Dec-03 17:19
sitebuilderMichael Dunn22-Dec-03 17:19 
GeneralRe: Drag and drop to specific item in tree? Pin
adonisv30-Dec-03 6:02
adonisv30-Dec-03 6:02 
GeneralLinking new dialog’s textbox w/ old dialog Pin
Spank me!!22-Dec-03 9:37
Spank me!!22-Dec-03 9:37 
GeneralRe: Linking new dialog’s textbox w/ old dialog Pin
David Crow22-Dec-03 11:12
David Crow22-Dec-03 11:12 
The second dialog will need a member variable that the main dialog sets. Then in the second dialog's OnInitDialog() method, set the control's value to that of the member variable.

CmainDlg::Foo()
{
    C2ndDialog dlg;
    dlg.m_somevar = "Text!";
    dlg.DoModal();
}
 
C2ndDialog::OnInitDialog()
{
    CDialog::OnInitDialog();
    m_control.SetWindowText(m_somevar);
}



Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

Generallink error: msvcirt.dll Pin
Vincent Sim22-Dec-03 9:33
Vincent Sim22-Dec-03 9:33 
GeneralRe: link error: msvcirt.dll Pin
David Crow22-Dec-03 11:14
David Crow22-Dec-03 11:14 
GeneralTrouble Compiling Help Files Pin
Anonymous22-Dec-03 9:05
Anonymous22-Dec-03 9:05 
GeneralRe: Trouble Compiling Help Files Pin
Roger Allen23-Dec-03 2:54
Roger Allen23-Dec-03 2:54 
Generalstring check Pin
act_x22-Dec-03 8:05
act_x22-Dec-03 8:05 
GeneralRe: string check Pin
PJ Arends22-Dec-03 9:21
professionalPJ Arends22-Dec-03 9:21 
GeneralRe: string check Pin
act_x22-Dec-03 9:47
act_x22-Dec-03 9:47 
GeneralRe: string check Pin
PJ Arends22-Dec-03 9:54
professionalPJ Arends22-Dec-03 9:54 
GeneralRe: string check Pin
act_x22-Dec-03 10:13
act_x22-Dec-03 10:13 
GeneralRe: string check Pin
nde_plume22-Dec-03 11:03
nde_plume22-Dec-03 11:03 
GeneralRe: string check Pin
PJ Arends22-Dec-03 11:42
professionalPJ Arends22-Dec-03 11:42 
GeneralRe: string check Pin
nde_plume22-Dec-03 12:24
nde_plume22-Dec-03 12:24 
GeneralPacket Filtering Pin
RedDragon2k22-Dec-03 8:01
RedDragon2k22-Dec-03 8:01 
GeneralRe: Packet Filtering Pin
User 665822-Dec-03 8:33
User 665822-Dec-03 8:33 
GeneralRe: Packet Filtering Pin
RedDragon2k22-Dec-03 8:35
RedDragon2k22-Dec-03 8:35 
QuestionHow to close a file opened by the user in MFC? Pin
Binayak22-Dec-03 7:24
Binayak22-Dec-03 7:24 
AnswerRe: How to close a file opened by the user in MFC? Pin
Antti Keskinen22-Dec-03 9:01
Antti Keskinen22-Dec-03 9:01 

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.