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

C / C++ / MFC

 
AnswerRe: how to increase the width and height of a bitmap in mfc.? Pin
Jochen Arndt28-Feb-13 21:20
professionalJochen Arndt28-Feb-13 21:20 
QuestionHELP: UNICODE conversion sprung up problems with CString & CHARFORMAT2 Pin
andwan028-Feb-13 4:00
andwan028-Feb-13 4:00 
AnswerRe: HELP: UNICODE conversion sprung up problems with CString & CHARFORMAT2 Pin
Jochen Arndt28-Feb-13 4:52
professionalJochen Arndt28-Feb-13 4:52 
QuestionDialog Template is replacing Standard Dialog Pin
002comp27-Feb-13 23:11
002comp27-Feb-13 23:11 
AnswerRe: Dialog Template is replacing Standard Dialog Pin
Richard MacCutchan28-Feb-13 3:02
mveRichard MacCutchan28-Feb-13 3:02 
GeneralRe: Dialog Template is replacing Standard Dialog Pin
002comp28-Feb-13 19:41
002comp28-Feb-13 19:41 
GeneralRe: Dialog Template is replacing Standard Dialog Pin
Richard MacCutchan28-Feb-13 22:01
mveRichard MacCutchan28-Feb-13 22:01 
GeneralRe: Dialog Template is replacing Standard Dialog Pin
002comp1-Mar-13 0:33
002comp1-Mar-13 0:33 
QuestionChange Network configuration using win32 VC++ Pin
Sachin k Rajput 27-Feb-13 22:13
Sachin k Rajput 27-Feb-13 22:13 
SuggestionRe: Change Network configuration using win32 VC++ Pin
Richard MacCutchan28-Feb-13 3:01
mveRichard MacCutchan28-Feb-13 3:01 
QuestionHow to change the size of Property sheet or Property Page in MFC.? Pin
mbatra3127-Feb-13 18:11
mbatra3127-Feb-13 18:11 
AnswerRe: How to change the size of Property sheet or Property Page in MFC.? Pin
David Crow28-Feb-13 4:19
David Crow28-Feb-13 4:19 
QuestionHow to determine in runtime the class type of inhetited class from common base class? Pin
oleg6327-Feb-13 6:48
professionaloleg6327-Feb-13 6:48 
In scenario like this, I've putted pseudo function GetRTTI().
How can I detect in the runtime the actual(derived) class type?

class the_base
{
};

class A : public the_base
{
};

class B : public the_base
{
};

class C : public the_base
{
};
...
the_base* pList[] = { new A(), new B(), new C());

C* pTarget = nullptr;
if(pList[2]->GetRTTI("C"))//detecting the actual type
{
pTarget = dynamic_cast< C* >(pList[2]);//casting to the type
}
//using pTarget
...
QuestionRe: How to determine in runtime the class type of inhetited class from common base class? Pin
David Crow27-Feb-13 7:09
David Crow27-Feb-13 7:09 
AnswerRe: How to determine in runtime the class type of inhetited class from common base class? Pin
oleg6327-Feb-13 7:12
professionaloleg6327-Feb-13 7:12 
AnswerRe: How to determine in runtime the class type of inhetited class from common base class? Pin
Maximilien27-Feb-13 8:02
Maximilien27-Feb-13 8:02 
QuestionLinker error with CLSID defined in uuids.h Pin
Vaclav_27-Feb-13 5:56
Vaclav_27-Feb-13 5:56 
AnswerRe: Linker error with CLSID defined in uuids.h Pin
Richard MacCutchan27-Feb-13 6:19
mveRichard MacCutchan27-Feb-13 6:19 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Vaclav_27-Feb-13 6:38
Vaclav_27-Feb-13 6:38 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Richard MacCutchan27-Feb-13 7:25
mveRichard MacCutchan27-Feb-13 7:25 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Vaclav_27-Feb-13 7:39
Vaclav_27-Feb-13 7:39 
GeneralRe: Linker error with CLSID defined in uuids.h Pin
Richard MacCutchan27-Feb-13 9:20
mveRichard MacCutchan27-Feb-13 9:20 
AnswerRe: Linker error with CLSID defined in uuids.h Pin
Vaclav_27-Feb-13 15:32
Vaclav_27-Feb-13 15:32 
AnswerRe: Linker error with CLSID defined in uuids.h Pin
SoMad27-Feb-13 16:38
professionalSoMad27-Feb-13 16:38 
GeneralMessage Removed Pin
27-Feb-13 17:20
Vaclav_27-Feb-13 17:20 

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.