Click here to Skip to main content
16,004,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: STL map question Pin
markkuk23-May-07 22:16
markkuk23-May-07 22:16 
AnswerRe: STL map question Pin
BadKarma23-May-07 22:56
BadKarma23-May-07 22:56 
QuestionWithout m_pMainWnd Pin
sawerr23-May-07 18:40
sawerr23-May-07 18:40 
AnswerRe: Without m_pMainWnd Pin
Naveen23-May-07 18:56
Naveen23-May-07 18:56 
GeneralRe: Without m_pMainWnd Pin
sawerr23-May-07 19:40
sawerr23-May-07 19:40 
GeneralRe: Without m_pMainWnd Pin
Naveen23-May-07 19:50
Naveen23-May-07 19:50 
GeneralRe: Without m_pMainWnd Pin
tom groezer24-May-07 1:24
tom groezer24-May-07 1:24 
GeneralRe: Without m_pMainWnd Pin
Mark Salsbery24-May-07 7:37
Mark Salsbery24-May-07 7:37 
tom groezer wrote:
Will the assignment of m_pMainWnd not overide it being a pointer to CWnd and point to CFrameWnd


No. From the point of view of the compiler, it only knows m_pMainWnd is a CWnd pointer.
Assigning it a pointer to a derived class object doesn't change its type. It does change
what virtual methods get called using the base class (CWnd) pointer though Smile | :)

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: Without m_pMainWnd Pin
Naveen24-May-07 13:57
Naveen24-May-07 13:57 
QuestionGit image on button Pin
prathuraj23-May-07 18:13
prathuraj23-May-07 18:13 
AnswerRe: Git image on button Pin
Hamid_RT23-May-07 18:53
Hamid_RT23-May-07 18:53 
GeneralRe: Git image on button Pin
prathuraj23-May-07 19:00
prathuraj23-May-07 19:00 
GeneralRe: Git image on button Pin
Hamid_RT23-May-07 19:04
Hamid_RT23-May-07 19:04 
AnswerRe: Git image on button Pin
Mark Salsbery24-May-07 7:39
Mark Salsbery24-May-07 7:39 
QuestionHow to disable a specified USB-FLASH DISK on WM_DEVICECHANGE Pin
wangerpang23-May-07 17:41
wangerpang23-May-07 17:41 
QuestionAny suggestion in implementing this idea? Pin
Aint23-May-07 15:26
Aint23-May-07 15:26 
QuestionRe: Any suggestion in implementing this idea? Pin
Hamid_RT23-May-07 19:01
Hamid_RT23-May-07 19:01 
AnswerRe: Any suggestion in implementing this idea? Pin
Aint24-May-07 22:50
Aint24-May-07 22:50 
GeneralRe: Any suggestion in implementing this idea? Pin
Hamid_RT25-May-07 1:42
Hamid_RT25-May-07 1:42 
AnswerRe: Any suggestion in implementing this idea? Pin
Nelek23-May-07 20:05
protectorNelek23-May-07 20:05 
QuestionFFT and SVD Pin
zqueezy23-May-07 15:08
zqueezy23-May-07 15:08 
AnswerRe: FFT and SVD Pin
Nelek23-May-07 20:02
protectorNelek23-May-07 20:02 
QuestionInteracting with Visual Studio Pin
Anorexic Tribble23-May-07 13:12
Anorexic Tribble23-May-07 13:12 
AnswerRe: Interacting with Visual Studio Pin
Naveen23-May-07 14:12
Naveen23-May-07 14:12 
QuestionDVD burning API for XP Pin
Anorexic Tribble23-May-07 13:04
Anorexic Tribble23-May-07 13:04 

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.