Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.
QuestionwaveOutOpen Working Properly but Voice is Low Pin
AmbiguousName22-Mar-11 2:36
AmbiguousName22-Mar-11 2:36 
AnswerRe: waveOutOpen Working Properly but Voice is Low Pin
rp_suman22-Mar-11 23:11
rp_suman22-Mar-11 23:11 
QuestionCLSID for invisible Pin
sarfaraznawaz22-Mar-11 1:24
sarfaraznawaz22-Mar-11 1:24 
AnswerRe: CLSID for invisible Pin
Richard MacCutchan22-Mar-11 5:15
mveRichard MacCutchan22-Mar-11 5:15 
QuestionOpenPrinter() API Pin
msr_codeproject21-Mar-11 22:41
msr_codeproject21-Mar-11 22:41 
AnswerRe: OpenPrinter() API Pin
Richard MacCutchan21-Mar-11 23:57
mveRichard MacCutchan21-Mar-11 23:57 
QuestionMFC: How to set the focus to the previously focused window? Pin
Erik21-Mar-11 19:48
Erik21-Mar-11 19:48 
AnswerRe: MFC: How to set the focus to the previously focused window? Pin
tagopi21-Mar-11 22:16
tagopi21-Mar-11 22:16 
GeneralRe: MFC: How to set the focus to the previously focused window? Pin
msr_codeproject21-Mar-11 22:32
msr_codeproject21-Mar-11 22:32 
AnswerRe: MFC: How to set the focus to the previously focused window? Pin
Hans Dietrich22-Mar-11 4:24
mentorHans Dietrich22-Mar-11 4:24 
GeneralRe: MFC: How to set the focus to the previously focused window? Pin
Emilio Garavaglia22-Mar-11 22:20
Emilio Garavaglia22-Mar-11 22:20 
QuestionHandle Inheritance in Windows [modified] Pin
Sudhan Gandhi21-Mar-11 0:59
Sudhan Gandhi21-Mar-11 0:59 
AnswerRe: Handle Inheritance in Windows Pin
«_Superman_»21-Mar-11 1:24
professional«_Superman_»21-Mar-11 1:24 
GeneralRe: Handle Inheritance in Windows Pin
Sudhan Gandhi21-Mar-11 2:01
Sudhan Gandhi21-Mar-11 2:01 
GeneralRe: Handle Inheritance in Windows Pin
Richard MacCutchan21-Mar-11 2:57
mveRichard MacCutchan21-Mar-11 2:57 
GeneralRe: Handle Inheritance in Windows Pin
Sudhan Gandhi21-Mar-11 4:27
Sudhan Gandhi21-Mar-11 4:27 
GeneralRe: Handle Inheritance in Windows Pin
Richard MacCutchan21-Mar-11 5:44
mveRichard MacCutchan21-Mar-11 5:44 

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.