Click here to Skip to main content
15,892,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to export the drived class from one abstract class? And also STL container is used as private members. Pin
SAMZCN22-Nov-10 14:06
SAMZCN22-Nov-10 14:06 
GeneralRe: How to export the drived class from one abstract class? And also STL container is used as private members. Pin
CPallini22-Nov-10 21:01
mveCPallini22-Nov-10 21:01 
GeneralRe: How to export the drived class from one abstract class? And also STL container is used as private members. Pin
SAMZCN22-Nov-10 23:15
SAMZCN22-Nov-10 23:15 
QuestionRe: How to export the drived class from one abstract class? And also STL container is used as private members. Pin
CPallini22-Nov-10 23:20
mveCPallini22-Nov-10 23:20 
AnswerRe: How to export the drived class from one abstract class? And also STL container is used as private members. Pin
Nisamudheen22-Nov-10 12:28
Nisamudheen22-Nov-10 12:28 
GeneralRe: How to export the drived class from one abstract class? And also STL container is used as private members. Pin
SAMZCN22-Nov-10 14:01
SAMZCN22-Nov-10 14:01 
Question890901 - getting the currently active child frame Pin
ilostmyid222-Nov-10 1:25
professionalilostmyid222-Nov-10 1:25 
AnswerRe: 890901 - getting the currently active child frame Pin
Nuri Ismail22-Nov-10 2:30
Nuri Ismail22-Nov-10 2:30 
Here is what use in my MDI applications:
C++
// First get the MDI frame window
CMDIFrameWnd* pFrame = (CMDIFrameWnd*)AfxGetApp()->m_pMainWnd;

// !Here we get the active MDI child window!
CMDIChildWnd* pChild = (CMDIChildWnd*)pFrame->GetActiveFrame();

// Alternatively you can use    
// CMDIChildWnd* pChild = pFrame->MDIGetActive();
       
// !Get the active view attached to the active MDI child window!
CMyView* pView = (CMyView*)pChild->GetActiveView();

// !Get the active document!
CMyDoc* pDoc = (CMyDoc*)pChild->GetActiveDocument();


Smile | :)
GeneralRe: 890901 - getting the currently active child frame Pin
ilostmyid222-Nov-10 3:30
professionalilostmyid222-Nov-10 3:30 
QuestionError "Windows has triggered a breakpoint in test.exe" Pin
Le@rner21-Nov-10 23:49
Le@rner21-Nov-10 23:49 
AnswerRe: Error "Windows has triggered a breakpoint in test.exe" Pin
Emilio Garavaglia22-Nov-10 3:01
Emilio Garavaglia22-Nov-10 3:01 
GeneralRe: Error "Windows has triggered a breakpoint in test.exe" Pin
Le@rner23-Nov-10 17:57
Le@rner23-Nov-10 17:57 
GeneralRe: Error "Windows has triggered a breakpoint in test.exe" Pin
Emilio Garavaglia24-Nov-10 1:37
Emilio Garavaglia24-Nov-10 1:37 
QuestionHow to Get Function argument names in vc++ map file? Pin
mathivanaan21-Nov-10 22:45
mathivanaan21-Nov-10 22:45 
AnswerRe: How to Get Function argument names in vc++ map file? Pin
Emilio Garavaglia21-Nov-10 23:35
Emilio Garavaglia21-Nov-10 23:35 
AnswerRe: How to Get Function argument names in vc++ map file? Pin
Aescleal21-Nov-10 23:45
Aescleal21-Nov-10 23:45 
GeneralRe: How to Get Function argument names in vc++ map file? Pin
mathivanaan22-Nov-10 17:25
mathivanaan22-Nov-10 17:25 
QuestionHow can I use wxWidgets to develop a lib which could be used in MFC? Pin
Tcpip200521-Nov-10 22:19
Tcpip200521-Nov-10 22:19 
AnswerRe: How can I use wxWidgets to develop a lib which could be used in MFC? Pin
Tcpip200521-Nov-10 22:31
Tcpip200521-Nov-10 22:31 
QuestionIKnownFolder Pin
Krauze21-Nov-10 21:19
Krauze21-Nov-10 21:19 
AnswerRe: IKnownFolder Pin
Cool_Dev21-Nov-10 21:48
Cool_Dev21-Nov-10 21:48 
QuestionHow to Get Function argument names in mangle data? Pin
mathivanaan21-Nov-10 21:09
mathivanaan21-Nov-10 21:09 
AnswerRe: How to Get Function argument names in mangle data? Pin
CPallini21-Nov-10 22:01
mveCPallini21-Nov-10 22:01 
GeneralRe: How to Get Function argument names in mangle data? Pin
mathivanaan21-Nov-10 22:50
mathivanaan21-Nov-10 22:50 
AnswerRe: How to Get Function argument names in mangle data? Pin
Sauro Viti22-Nov-10 1:05
professionalSauro Viti22-Nov-10 1:05 

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.