Click here to Skip to main content
15,921,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Customized BEGIN_TEMPLATE_MESSAGE_MAP with 2 template arguments for VS2005 Pin
funwithdolphin30-Aug-10 23:30
funwithdolphin30-Aug-10 23:30 
GeneralRe: Customized BEGIN_TEMPLATE_MESSAGE_MAP with 2 template arguments for VS2005 Pin
Code-o-mat31-Aug-10 0:01
Code-o-mat31-Aug-10 0:01 
QuestionCopy and Cast a List Pin
Skippums30-Aug-10 15:02
Skippums30-Aug-10 15:02 
AnswerRe: Copy and Cast a List Pin
Sameerkumar Namdeo30-Aug-10 18:40
Sameerkumar Namdeo30-Aug-10 18:40 
AnswerRe: Copy and Cast a List Pin
Paul Michalik30-Aug-10 21:10
Paul Michalik30-Aug-10 21:10 
QuestionDLL Hook - Get Host Process ID Pin
Joe_Dert30-Aug-10 14:13
Joe_Dert30-Aug-10 14:13 
AnswerRe: DLL Hook - Get Host Process ID PinPopular
«_Superman_»30-Aug-10 20:24
professional«_Superman_»30-Aug-10 20:24 
GeneralRe: DLL Hook - Get Host Process ID Pin
Joe_Dert31-Aug-10 0:06
Joe_Dert31-Aug-10 0:06 
QuestionSTL / Custom Linked List Pin
Fareed Rizkalla30-Aug-10 11:06
Fareed Rizkalla30-Aug-10 11:06 
AnswerRe: STL / Custom Linked List Pin
Luc Pattyn30-Aug-10 11:30
sitebuilderLuc Pattyn30-Aug-10 11:30 
GeneralRe: STL / Custom Linked List Pin
Fareed Rizkalla30-Aug-10 11:55
Fareed Rizkalla30-Aug-10 11:55 
GeneralRe: STL / Custom Linked List PinPopular
Luc Pattyn30-Aug-10 12:11
sitebuilderLuc Pattyn30-Aug-10 12:11 
GeneralRe: STL / Custom Linked List Pin
Blake Miller3-Sep-10 12:30
Blake Miller3-Sep-10 12:30 
GeneralRe: STL / Custom Linked List Pin
Luc Pattyn3-Sep-10 14:52
sitebuilderLuc Pattyn3-Sep-10 14:52 
AnswerRe: STL / Custom Linked List PinPopular
Maximilien30-Aug-10 13:43
Maximilien30-Aug-10 13:43 
AnswerRe: STL / Custom Linked List Pin
Emilio Garavaglia30-Aug-10 20:04
Emilio Garavaglia30-Aug-10 20:04 
Questionre:looking for winsock listener tcp c++ example that supports multiple potential clients Pin
Alan Kurlansky30-Aug-10 11:05
Alan Kurlansky30-Aug-10 11:05 
AnswerRe: re:looking for winsock listener tcp c++ example that supports multiple potential clients Pin
Fareed Rizkalla30-Aug-10 11:10
Fareed Rizkalla30-Aug-10 11:10 
AnswerRe: re:looking for winsock listener tcp c++ example that supports multiple potential clients Pin
Moak30-Aug-10 12:00
Moak30-Aug-10 12:00 
QuestionOnInitDialog is not getting called from DoModal in VS2005 [modified] Pin
funwithdolphin30-Aug-10 2:49
funwithdolphin30-Aug-10 2:49 
AnswerRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
Richard MacCutchan30-Aug-10 4:05
mveRichard MacCutchan30-Aug-10 4:05 
AnswerRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
Eugen Podsypalnikov30-Aug-10 4:30
Eugen Podsypalnikov30-Aug-10 4:30 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
funwithdolphin30-Aug-10 5:24
funwithdolphin30-Aug-10 5:24 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
Eugen Podsypalnikov30-Aug-10 5:29
Eugen Podsypalnikov30-Aug-10 5:29 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
funwithdolphin31-Aug-10 3:51
funwithdolphin31-Aug-10 3:51 
I debugged. I see that it calls 'INT_PTR CPropertySheet:: DoModal()' which internally calls CPropertySheet::OnInitDialog().

Here is the stack trace in case this helps you in pointing out any clues:
Code:

>	mfc80u.dll!CPropertySheet::OnInitDialog()  Line 1437	C++
 	mfc80u.dll!CPropertySheet::HandleInitDialog(unsigned int __formal=1052816, unsigned int __formal=1052816)  Line 1455	C++
 	mfc80u.dll!CWnd::OnWndMsg(unsigned int message=272, unsigned int wParam=1052816, long lParam=1519392, long * pResult=0x00129744)  Line 2194 + 0x8 bytes	C++
 	mfc80u.dll!CWnd::WindowProc(unsigned int message=272, unsigned int wParam=1052816, long lParam=1519392)  Line 1741 + 0x17 bytes	C++
 	mfc80u.dll!AfxCallWndProc(CWnd * pWnd=0x84c820c4, HWND__ * hWnd=0x00171098, unsigned int nMsg=272, unsigned int wParam=1052816, long lParam=1519392)  Line 243	C++
 	mfc80u.dll!AfxWndProc(HWND__ * hWnd=0x00171098, unsigned int nMsg=272, unsigned int wParam=1052816, long lParam=1519392)  Line 388 + 0x10 bytes	C++
 	mfc80u.dll!AfxWndProcBase(HWND__ * hWnd=0x00171098, unsigned int nMsg=272, unsigned int wParam=1052816, long lParam=1519392)  Line 411 + 0x16 bytes	C++
 	USER32.DLL!77e3a454() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for USER32.DLL]	
 	USER32.DLL!77e14750() 	
 	USER32.DLL!77e155b0() 	
 	NTDLL.DLL!77f91baf() 	
 	USER32.DLL!77e16408() 	
 	USER32.DLL!77e29da0() 	
 	USER32.DLL!77e2cc1e() 	
 	USER32.DLL!77e3ed99() 	
 	SHLWAPI.DLL!70a9af09() 	
 	comctl32.dll!7176b0d7() 	
 	comctl32.dll!7174b366() 	
 	mfc80u.dll!AfxPropPageCallback(HWND__ * __formal=0x00000000, unsigned int message=0, _PROPSHEETPAGEW * pPropPage=0x00174648)  Line 52 + 0x5 bytes	C++
 	comctl32.dll!7174b959() 	
 	comctl32.dll!7174b5ef() 	
 	comctl32.dll!7174b601() 	
 	mfc80u.dll!CComCtlWrapper::_PropertySheetW(const _PROPSHEETHEADERW * unnamed1=0x00129bc4)  Line 342 + 0x6e bytes	C++
 	mfc80u.dll!CPropertySheet::DoModal()  Line 961	C++
 	IsoGenU.dll!GetDistinguishedName(tagSELECTDN * lpsdn=0x0012a800)  Line 137 + 0xb bytes	C++


I also saw that CPropertyPage::OnSetActive() was called by CPropertySheet:: DoModal(). As can be seen above, CPropertySheet::OnInitDialog() is getting called. However, OnInitDialog function of CPpSelectDn class is not getting called.

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.