Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: An invalid argument was encountered Pin
rhfritz121-Apr-10 3:04
rhfritz121-Apr-10 3:04 
Questionuser defined events? Pin
nurpinar6-Apr-04 2:17
nurpinar6-Apr-04 2:17 
AnswerRe: user defined events? Pin
mangellj6-Apr-04 3:56
mangellj6-Apr-04 3:56 
GeneralC++ help - getting object types Pin
Anonymous6-Apr-04 2:17
Anonymous6-Apr-04 2:17 
GeneralRe: C++ help - getting object types Pin
Cedric Moonen6-Apr-04 2:29
Cedric Moonen6-Apr-04 2:29 
GeneralRe: C++ help - getting object types Pin
thowra6-Apr-04 2:58
thowra6-Apr-04 2:58 
GeneralRe: C++ help - getting object types Pin
Cedric Moonen6-Apr-04 3:09
Cedric Moonen6-Apr-04 3:09 
GeneralRe: C++ help - getting object types Pin
thowra6-Apr-04 6:18
thowra6-Apr-04 6:18 
Yes, every time you add a new derived class using your suggestion you have to make a change to the base class. I'd respectfully suggest that this isn't "best practice", as it breaks the concept of encapsulation and effectively prevents the use of late/dynamic binding. However, in the context of a single project, your method would work, which is why I suggested mine as an alternative and not a correction Smile | :)


"Oh, I'm sick of doing Japanese stuff! In jail we had to be in this dumb kabuki play about the 47 Ronin, and I wanted to be Oshi, but they made me Ori!"

GeneralRe: C++ help - getting object types Pin
Maximilien6-Apr-04 2:59
Maximilien6-Apr-04 2:59 
GeneralRe: C++ help - getting object types Pin
Andrew Walker6-Apr-04 4:49
Andrew Walker6-Apr-04 4:49 
GeneralRe: C++ help - getting object types Pin
Nemanja Trifunovic6-Apr-04 5:05
Nemanja Trifunovic6-Apr-04 5:05 
GeneralRe: C++ help - getting object types Pin
Maxwell Chen6-Apr-04 16:45
Maxwell Chen6-Apr-04 16:45 
GeneralRe: C++ help - getting object types Pin
David Crow6-Apr-04 4:57
David Crow6-Apr-04 4:57 
GeneralRe: C++ help - getting object types Pin
thowra6-Apr-04 6:16
thowra6-Apr-04 6:16 
GeneralDebug service Pin
Anonymous6-Apr-04 0:56
Anonymous6-Apr-04 0:56 
GeneralRe: Debug service Pin
Milton Karimbekallil6-Apr-04 1:15
Milton Karimbekallil6-Apr-04 1:15 
Generalstock quote Pin
Anonymous6-Apr-04 0:54
Anonymous6-Apr-04 0:54 
Generalbitmap Pin
m_vnaresh6-Apr-04 0:46
m_vnaresh6-Apr-04 0:46 
GeneralRe: bitmap Pin
avenger_sb256-Apr-04 7:36
avenger_sb256-Apr-04 7:36 
GeneralRe: bitmap Pin
John R. Shaw6-Apr-04 16:48
John R. Shaw6-Apr-04 16:48 
GeneralMenu Pin
Rassul Yunussov6-Apr-04 0:07
Rassul Yunussov6-Apr-04 0:07 
GeneralRe: Menu Pin
Empty19816-Apr-04 0:36
Empty19816-Apr-04 0:36 
GeneralRe: Menu Pin
Antony M Kancidrowski6-Apr-04 1:22
Antony M Kancidrowski6-Apr-04 1:22 
GeneralRe: Menu Pin
Rassul Yunussov6-Apr-04 22:30
Rassul Yunussov6-Apr-04 22:30 
GeneralRe: Menu Pin
Antony M Kancidrowski7-Apr-04 2:12
Antony M Kancidrowski7-Apr-04 2:12 

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.