Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AfxLoadLibrary problems Pin
David Crow31-Mar-06 7:42
David Crow31-Mar-06 7:42 
GeneralRe: AfxLoadLibrary problems Pin
netsharq31-Mar-06 8:00
netsharq31-Mar-06 8:00 
GeneralRe: AfxLoadLibrary problems Pin
David Crow31-Mar-06 8:09
David Crow31-Mar-06 8:09 
GeneralRe: AfxLoadLibrary problems Pin
netsharq31-Mar-06 8:30
netsharq31-Mar-06 8:30 
GeneralRe: AfxLoadLibrary problems Pin
David Crow31-Mar-06 8:39
David Crow31-Mar-06 8:39 
GeneralRe: AfxLoadLibrary problems Pin
netsharq31-Mar-06 9:20
netsharq31-Mar-06 9:20 
GeneralRe: AfxLoadLibrary problems Pin
David Crow3-Apr-06 2:44
David Crow3-Apr-06 2:44 
QuestionOnSize for CDialog doesn't get entered Pin
ns31-Mar-06 5:08
ns31-Mar-06 5:08 
I have in a CDialog class:

protected:

	// Generated message map functions
	//{{AFX_MSG(CTargetInfo)
		// NOTE: the ClassWizard will add member functions here
		afx_msg void OnDestroy();
		afx_msg void OnSize(UINT nType, int cx, int cy);

	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};


Then I have

void CTargetInfo::OnSize(UINT nType, int cx, int cy)

{
	 CDialog::OnSize(nType, cx, cy);
	CRect cRect;

	GetClientRect(&cRect);
	
	if( NULL != m_listTgtInfo.GetSafeHwnd() )
	{

		m_listTgtInfo.MoveWindow(10, 10, cRect.Width()-15, cRect.Height() - 15);
	}
}


but code never steps into this function even as I resize the CDialog in debug mode (breakpoint in function)

Am I missing some crucial step?
thanks,
sb
AnswerRe: OnSize for CDialog doesn't get entered Pin
Maximilien31-Mar-06 5:30
Maximilien31-Mar-06 5:30 
GeneralRe: OnSize for CDialog doesn't get entered Pin
ns31-Mar-06 6:05
ns31-Mar-06 6:05 
QuestionProblems again Pin
Waldermort31-Mar-06 4:39
Waldermort31-Mar-06 4:39 
AnswerRe: Problems again Pin
Wes Aday31-Mar-06 4:46
professionalWes Aday31-Mar-06 4:46 
AnswerRe: Problems again Pin
David Crow31-Mar-06 4:49
David Crow31-Mar-06 4:49 
GeneralRe: Problems again Pin
Waldermort31-Mar-06 4:56
Waldermort31-Mar-06 4:56 
GeneralRe: Problems again Pin
David Crow31-Mar-06 5:06
David Crow31-Mar-06 5:06 
GeneralRe: Problems again Pin
Waldermort31-Mar-06 5:26
Waldermort31-Mar-06 5:26 
GeneralRe: Problems again Pin
David Crow31-Mar-06 5:30
David Crow31-Mar-06 5:30 
GeneralRe: Problems again Pin
Waldermort31-Mar-06 5:58
Waldermort31-Mar-06 5:58 
QuestionRe: Problems again Pin
David Crow31-Mar-06 6:05
David Crow31-Mar-06 6:05 
AnswerRe: Problems again Pin
Waldermort31-Mar-06 6:17
Waldermort31-Mar-06 6:17 
GeneralSolved Pin
Waldermort31-Mar-06 6:36
Waldermort31-Mar-06 6:36 
GeneralRe: Solved Pin
David Crow31-Mar-06 6:59
David Crow31-Mar-06 6:59 
GeneralRe: Problems again Pin
David Crow31-Mar-06 6:55
David Crow31-Mar-06 6:55 
GeneralRe: Problems again Pin
Waldermort31-Mar-06 7:11
Waldermort31-Mar-06 7:11 
GeneralRe: Problems again Pin
David Crow31-Mar-06 7:17
David Crow31-Mar-06 7: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.