Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to reduce Flickering ? Pin
Albert Holguin24-Mar-11 4:26
professionalAlbert Holguin24-Mar-11 4:26 
AnswerRe: How to reduce Flickering ? Pin
Stephen Hewitt24-Mar-11 2:14
Stephen Hewitt24-Mar-11 2:14 
GeneralRe: How to reduce Flickering ? Pin
002comp24-Mar-11 18:47
002comp24-Mar-11 18:47 
QuestionVariable In SQL String Pin
Mike Certini23-Mar-11 19:11
Mike Certini23-Mar-11 19:11 
AnswerRe: Variable In SQL String Pin
«_Superman_»23-Mar-11 19:21
professional«_Superman_»23-Mar-11 19:21 
GeneralRe: Variable In SQL String Pin
Mike Certini23-Mar-11 20:05
Mike Certini23-Mar-11 20:05 
GeneralRe: Variable In SQL String Pin
markkuk23-Mar-11 20:29
markkuk23-Mar-11 20:29 
AnswerRe: Variable In SQL String Pin
Pravin Patil, Mumbai23-Mar-11 22:16
Pravin Patil, Mumbai23-Mar-11 22:16 
QuestionIs there a linkable chat control? Pin
includeh1023-Mar-11 3:48
includeh1023-Mar-11 3:48 
AnswerRe: Is there a linkable chat control? Pin
Hans Dietrich23-Mar-11 5:19
mentorHans Dietrich23-Mar-11 5:19 
QuestionUse Modeless Dialog inside MFC DLL Pin
Andraw Tang22-Mar-11 11:52
Andraw Tang22-Mar-11 11:52 
AnswerRe: Use Modeless Dialog inside MFC DLL Pin
Ozer Karaagac22-Mar-11 14:14
professionalOzer Karaagac22-Mar-11 14:14 
GeneralRe: Use Modeless Dialog inside MFC DLL Pin
Andraw Tang23-Mar-11 2:40
Andraw Tang23-Mar-11 2:40 
AnswerRe: Use Modeless Dialog inside MFC DLL Pin
Hans Dietrich22-Mar-11 14:16
mentorHans Dietrich22-Mar-11 14:16 
GeneralRe: Use Modeless Dialog inside MFC DLL Pin
Andraw Tang23-Mar-11 2:41
Andraw Tang23-Mar-11 2:41 
AnswerRe: Use Modeless Dialog inside MFC DLL Pin
Nitheesh George22-Mar-11 23:04
Nitheesh George22-Mar-11 23:04 
GeneralRe: Use Modeless Dialog inside MFC DLL Pin
Andraw Tang23-Mar-11 2:42
Andraw Tang23-Mar-11 2:42 
Questionconvert an image (black & white) to a file (zero & one) in the VC++ Pin
Shatha8822-Mar-11 9:08
Shatha8822-Mar-11 9:08 
AnswerRe: convert an image (black & white) to a file (zero & one) in the VC++ Pin
Niklas L22-Mar-11 20:43
Niklas L22-Mar-11 20:43 
GeneralRe: convert an image (black & white) to a file (zero & one) in the VC++ Pin
Shatha8823-Mar-11 9:02
Shatha8823-Mar-11 9:02 
AnswerRe: convert an image (black & white) to a file (zero & one) in the VC++ Pin
Cedric Moonen22-Mar-11 21:26
Cedric Moonen22-Mar-11 21:26 
QuestionHow to use structure constructor ? Pin
_Flaviu22-Mar-11 6:58
_Flaviu22-Mar-11 6:58 
AnswerRe: How to use structure constructor ? Pin
Ozer Karaagac22-Mar-11 7:57
professionalOzer Karaagac22-Mar-11 7:57 
GeneralRe: How to use structure constructor ? Pin
_Flaviu22-Mar-11 8:39
_Flaviu22-Mar-11 8:39 
GeneralRe: How to use structure constructor ? Pin
Stefan_Lang23-Mar-11 0:06
Stefan_Lang23-Mar-11 0:06 
Besides, two things:

1. You forgot to provide the typename for your typedef. Eithr delete that typedef keyword or provide the name after the definition of the struct.

2. Do you intend to add types that are derived from ItemData? If not I advise you to remove the virtual destructor! It will only add to the size of the objects because it has to add a hidden pointer to the virtual function table. Virtual destructors are only neccessary to make sure objects are destroyed properly even when the destructor is called through the interface of a base class. But when you have no inheritance it just adds weight unneccessarily.

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.