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

C / C++ / MFC

 
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.
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
funwithdolphin31-Aug-10 21:53
funwithdolphin31-Aug-10 21:53 
GeneralRe: OnInitDialog is not getting called from DoModal in VS2005 Pin
funwithdolphin31-Aug-10 23:24
funwithdolphin31-Aug-10 23:24 
QuestionReplace exe in Install shield Pin
raju_shiva30-Aug-10 0:33
raju_shiva30-Aug-10 0:33 
AnswerRe: Replace exe in Install shield Pin
ThatsAlok30-Jun-11 23:59
ThatsAlok30-Jun-11 23:59 
QuestionHow to achieve pushbutton type effect using bitmaps Pin
sayonee29-Aug-10 22:23
sayonee29-Aug-10 22:23 
AnswerRe: How to achieve pushbutton type effect using bitmaps Pin
Sauro Viti30-Aug-10 6:43
professionalSauro Viti30-Aug-10 6:43 
QuestionMultiple includes Pin
Shy Agam29-Aug-10 21:49
Shy Agam29-Aug-10 21:49 
AnswerRe: Multiple includes Pin
Cedric Moonen29-Aug-10 22:38
Cedric Moonen29-Aug-10 22:38 
AnswerRe: Multiple includes Pin
CPallini29-Aug-10 22:46
mveCPallini29-Aug-10 22:46 
GeneralRe: Multiple includes Pin
Shy Agam29-Aug-10 23:06
Shy Agam29-Aug-10 23:06 
GeneralRe: Multiple includes Pin
Cedric Moonen29-Aug-10 23:53
Cedric Moonen29-Aug-10 23:53 
GeneralRe: Multiple includes [modified] Pin
Shy Agam30-Aug-10 0:10
Shy Agam30-Aug-10 0:10 
GeneralRe: Multiple includes Pin
Cedric Moonen30-Aug-10 0:51
Cedric Moonen30-Aug-10 0:51 
GeneralRe: Multiple includes Pin
Richard MacCutchan30-Aug-10 2:39
mveRichard MacCutchan30-Aug-10 2:39 
GeneralRe: Multiple includes Pin
Paul Michalik30-Aug-10 9:42
Paul Michalik30-Aug-10 9:42 
GeneralRe: Multiple includes Pin
Richard MacCutchan30-Aug-10 21:50
mveRichard MacCutchan30-Aug-10 21:50 
GeneralRe: Multiple includes Pin
Paul Michalik30-Aug-10 23:30
Paul Michalik30-Aug-10 23:30 

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.