Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing GDI+ to display static pictures in MFC dialogs with an alpha channel Pin
Sternocera24-Nov-08 6:34
Sternocera24-Nov-08 6:34 
QuestionRe: Using GDI+ to display static pictures in MFC dialogs with an alpha channel Pin
Mark Salsbery24-Nov-08 7:41
Mark Salsbery24-Nov-08 7:41 
AnswerRe: Using GDI+ to display static pictures in MFC dialogs with an alpha channel Pin
Sternocera24-Nov-08 7:43
Sternocera24-Nov-08 7:43 
GeneralRe: Using GDI+ to display static pictures in MFC dialogs with an alpha channel Pin
Mark Salsbery24-Nov-08 8:05
Mark Salsbery24-Nov-08 8:05 
GeneralRe: Using GDI+ to display static pictures in MFC dialogs with an alpha channel Pin
Sternocera24-Nov-08 8:28
Sternocera24-Nov-08 8:28 
GeneralRe: Using GDI+ to display static pictures in MFC dialogs with an alpha channel Pin
Mark Salsbery24-Nov-08 10:15
Mark Salsbery24-Nov-08 10:15 
GeneralRe: Using GDI+ to display static pictures in MFC dialogs with an alpha channel Pin
Sternocera24-Nov-08 10:17
Sternocera24-Nov-08 10:17 
QuestionForcing a non const member function to call a const version of a function Pin
Roger Allen24-Nov-08 6:22
Roger Allen24-Nov-08 6:22 
I have a class which has 2 access functions thus:

std::vector<const MyClass *> Function() const;
std::vector<MyClass *> Function();

and I am trying to do an assignment from another non const member function of the class like this:

std::vector<const MyClass *> variable = Function();

By default the compiler always tries to use the non const access function and gives me a type mismatch. Is there any way apart from creating a temporary const pointer to myself to force the compiler to resolve to the correct const version of the function which returns the correct type? D'Oh! | :doh:

If you vote me down, my score will only get lower

AnswerRe: Forcing a non const member function to call a const version of a function Pin
bob1697224-Nov-08 6:37
bob1697224-Nov-08 6:37 
QuestionHow to convert wav file to double array? Pin
Carminio24-Nov-08 5:56
Carminio24-Nov-08 5:56 
AnswerRe: How to convert wav file to double array? Pin
Mark Salsbery24-Nov-08 6:32
Mark Salsbery24-Nov-08 6:32 
AnswerRe: How to convert wav file to double array? Pin
Maximilien24-Nov-08 6:39
Maximilien24-Nov-08 6:39 
QuestionRDW_INTERNALPAINT Pin
bob1697224-Nov-08 5:47
bob1697224-Nov-08 5:47 
Questionsome guidence needed Pin
teejayem24-Nov-08 4:02
teejayem24-Nov-08 4:02 
AnswerRe: some guidence needed Pin
Roger Stoltz24-Nov-08 4:17
Roger Stoltz24-Nov-08 4:17 
GeneralRe: some guidence needed Pin
teejayem24-Nov-08 4:36
teejayem24-Nov-08 4:36 
GeneralRe: some guidence needed Pin
Maximilien24-Nov-08 4:51
Maximilien24-Nov-08 4:51 
GeneralRe: some guidence needed Pin
teejayem24-Nov-08 5:22
teejayem24-Nov-08 5:22 
AnswerRe: some guidence needed Pin
Roger Stoltz24-Nov-08 4:56
Roger Stoltz24-Nov-08 4:56 
GeneralRe: some guidence needed Pin
Code-o-mat24-Nov-08 5:08
Code-o-mat24-Nov-08 5:08 
GeneralRe: some guidence needed Pin
teejayem24-Nov-08 5:29
teejayem24-Nov-08 5:29 
AnswerRe: some guidence needed Pin
akirilov24-Nov-08 4:55
akirilov24-Nov-08 4:55 
QuestionOverwrite data in cell in excel Pin
hellogany24-Nov-08 3:46
hellogany24-Nov-08 3:46 
AnswerRe: Overwrite data in cell in excel Pin
CPallini24-Nov-08 7:30
mveCPallini24-Nov-08 7:30 
Questiondownload the files in FTP server Pin
AnithaSubramani24-Nov-08 2:31
AnithaSubramani24-Nov-08 2:31 

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.