Click here to Skip to main content
15,918,404 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Controling a Property Page in a Wizard Pin
David Crow11-Nov-07 14:19
David Crow11-Nov-07 14:19 
GeneralRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr12-Nov-07 2:26
Larry Mills Sr12-Nov-07 2:26 
GeneralRe: Controling a Property Page in a Wizard Pin
David Crow12-Nov-07 2:47
David Crow12-Nov-07 2:47 
GeneralRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr12-Nov-07 5:23
Larry Mills Sr12-Nov-07 5:23 
GeneralRe: Controling a Property Page in a Wizard Pin
David Crow12-Nov-07 5:30
David Crow12-Nov-07 5:30 
GeneralRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr12-Nov-07 7:54
Larry Mills Sr12-Nov-07 7:54 
QuestionRe: Controling a Property Page in a Wizard Pin
David Crow12-Nov-07 8:03
David Crow12-Nov-07 8:03 
AnswerRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr12-Nov-07 8:36
Larry Mills Sr12-Nov-07 8:36 
My message map is as follows:
// Generated message map functions
//{{AFX_MSG(CTrl_Pg2)
afx_msg void OnSetfocusFwdLtInsideTire();
afx_msg void OnMaxtextFwdLtInsideRim();
afx_msg void OnSetfocusFwdLtInsideRim();
afx_msg void OnMaxtextFwdLtInsideTire();
afx_msg void OnMaxtextFwdLtOutsideRim();
afx_msg void OnSetfocusFwdLtOutsideRim();
afx_msg void OnMaxtextFwdLtOutsideTire();
afx_msg void OnSetfocusFwdLtOutsideTire();
afx_msg void OnMaxtextFwdRtInsideRim();
afx_msg void OnSetfocusFwdRtInsideRim();
afx_msg void OnMaxtextFwdRtInsideTire();
afx_msg void OnSetfocusFwdRtInsideTire();
afx_msg void OnMaxtextFwdRtOutsideRim();
afx_msg void OnSetfocusFwdRtOutsideRim();
afx_msg void OnMaxtextFwdRtOutsideTire();
afx_msg void OnSetfocusFwdRtOutsideTire();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnKillfocusFwdLtInsideRim();
afx_msg void OnChangeFwdLtInsideRim();
afx_msg void OnChangeFwdLtInsideTire();
afx_msg void OnKillfocusFwdLtInsideTire();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()


BEGIN_MESSAGE_MAP(CTrl_Pg2, CNewWizPage)
//{{AFX_MSG_MAP(CTrl_Pg2)
ON_EN_SETFOCUS(IDC_FWD_LT_INSIDE_TIRE, OnSetfocusFwdLtInsideTire)
ON_EN_MAXTEXT(IDC_FWD_LT_INSIDE_RIM, OnMaxtextFwdLtInsideRim)
ON_EN_SETFOCUS(IDC_FWD_LT_INSIDE_RIM, OnSetfocusFwdLtInsideRim)
ON_EN_MAXTEXT(IDC_FWD_LT_INSIDE_TIRE, OnMaxtextFwdLtInsideTire)
ON_EN_MAXTEXT(IDC_FWD_LT_OUTSIDE_RIM, OnMaxtextFwdLtOutsideRim)
ON_EN_SETFOCUS(IDC_FWD_LT_OUTSIDE_RIM, OnSetfocusFwdLtOutsideRim)
ON_EN_MAXTEXT(IDC_FWD_LT_OUTSIDE_TIRE, OnMaxtextFwdLtOutsideTire)
ON_EN_SETFOCUS(IDC_FWD_LT_OUTSIDE_TIRE, OnSetfocusFwdLtOutsideTire)
ON_EN_MAXTEXT(IDC_FWD_RT_INSIDE_RIM, OnMaxtextFwdRtInsideRim)
ON_EN_SETFOCUS(IDC_FWD_RT_INSIDE_RIM, OnSetfocusFwdRtInsideRim)
ON_EN_MAXTEXT(IDC_FWD_RT_INSIDE_TIRE, OnMaxtextFwdRtInsideTire)
ON_EN_SETFOCUS(IDC_FWD_RT_INSIDE_TIRE, OnSetfocusFwdRtInsideTire)
ON_EN_MAXTEXT(IDC_FWD_RT_OUTSIDE_RIM, OnMaxtextFwdRtOutsideRim)
ON_EN_SETFOCUS(IDC_FWD_RT_OUTSIDE_RIM, OnSetfocusFwdRtOutsideRim)
ON_EN_MAXTEXT(IDC_FWD_RT_OUTSIDE_TIRE, OnMaxtextFwdRtOutsideTire)
ON_EN_SETFOCUS(IDC_FWD_RT_OUTSIDE_TIRE, OnSetfocusFwdRtOutsideTire)
ON_WM_LBUTTONDOWN()
ON_EN_KILLFOCUS(IDC_FWD_LT_INSIDE_RIM, OnKillfocusFwdLtInsideRim)
ON_EN_CHANGE(IDC_FWD_LT_INSIDE_RIM, OnChangeFwdLtInsideRim)
ON_EN_CHANGE(IDC_FWD_LT_INSIDE_TIRE, OnChangeFwdLtInsideTire)
ON_EN_KILLFOCUS(IDC_FWD_LT_INSIDE_TIRE, OnKillfocusFwdLtInsideTire)
ON_WM_KEYDOWN()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

Here 's an example of a function:

void CTrl_Pg2::OnSetfocusFwdLtInsideTire()
{
// TODO: Add your control notification handler code here
// BOOL m_bFwdLtATire in header
if(!m_bFwdLtTire)
{
DoFwdLeftTire();
}
m_bFwdLtTire = TRUE;
return;
}
and


void CTrl_Pg2::OnKillfocusFwdLtInsideTire()
{
// TODO: Add your control notification handler code here
m_bFwdLtTire = FALSE;
return;
}





A C++ programming language novice, but striving to learn

QuestionRe: Controling a Property Page in a Wizard Pin
David Crow12-Nov-07 9:06
David Crow12-Nov-07 9:06 
AnswerRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr12-Nov-07 10:41
Larry Mills Sr12-Nov-07 10:41 
GeneralRe: Controling a Property Page in a Wizard Pin
David Crow12-Nov-07 10:44
David Crow12-Nov-07 10:44 
GeneralRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr12-Nov-07 11:01
Larry Mills Sr12-Nov-07 11:01 
GeneralRe: Controling a Property Page in a Wizard Pin
David Crow12-Nov-07 12:05
David Crow12-Nov-07 12:05 
GeneralRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr13-Nov-07 4:47
Larry Mills Sr13-Nov-07 4:47 
GeneralUser Interface Pin
Mark Salsbery9-Nov-07 12:09
Mark Salsbery9-Nov-07 12:09 
GeneralRe: User Interface Pin
Bram van Kampen10-Nov-07 14:13
Bram van Kampen10-Nov-07 14:13 
NewsRe: User Interface Pin
Mark Salsbery11-Nov-07 6:12
Mark Salsbery11-Nov-07 6:12 
GeneralRe: User Interface Pin
DevMentor.org10-Nov-07 15:17
DevMentor.org10-Nov-07 15:17 
Question_beginthread, can we create a thread in a class? [modified] Pin
Gofur Halmurat9-Nov-07 11:53
Gofur Halmurat9-Nov-07 11:53 
AnswerRe: _beginthread, can we create a thread in a class? Pin
Mark Salsbery9-Nov-07 12:32
Mark Salsbery9-Nov-07 12:32 
GeneralRe: _beginthread, can we create a thread in a class? Pin
Gofur Halmurat9-Nov-07 12:39
Gofur Halmurat9-Nov-07 12:39 
GeneralRe: _beginthread, can we create a thread in a class? Pin
Mark Salsbery9-Nov-07 12:49
Mark Salsbery9-Nov-07 12:49 
GeneralRe: _beginthread, can we create a thread in a class? Pin
Gofur Halmurat9-Nov-07 13:15
Gofur Halmurat9-Nov-07 13:15 
AnswerRe: _beginthread, can we create a thread in a class? Pin
George L. Jackson9-Nov-07 13:25
George L. Jackson9-Nov-07 13:25 
AnswerRe: _beginthread, can we create a thread in a class? Pin
dtr19-Nov-07 20:37
dtr19-Nov-07 20:37 

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.