Click here to Skip to main content
15,916,949 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRefresh an image displayed in my dialog window ? Pin
Member 6658972-Dec-03 3:06
Member 6658972-Dec-03 3:06 
AnswerRe: Refresh an image displayed in my dialog window ? Pin
KellyR2-Dec-03 4:24
KellyR2-Dec-03 4:24 
GeneralRe: Refresh an image displayed in my dialog window ? Pin
Member 6658972-Dec-03 4:29
Member 6658972-Dec-03 4:29 
GeneralRe: Refresh an image displayed in my dialog window ? Pin
KellyR2-Dec-03 4:34
KellyR2-Dec-03 4:34 
GeneralRe: Refresh an image displayed in my dialog window ? Pin
Member 6658972-Dec-03 4:41
Member 6658972-Dec-03 4:41 
QuestionHow can I override CPropertySheet::RemovePage(int nPage) in a derived class? Pin
mfc_surfer2-Dec-03 2:10
mfc_surfer2-Dec-03 2:10 
AnswerRe: How can I override CPropertySheet::RemovePage(int nPage) in a derived class? Pin
David Crow2-Dec-03 3:16
David Crow2-Dec-03 3:16 
GeneralMember function pointer Pin
kikocharana2-Dec-03 1:18
kikocharana2-Dec-03 1:18 
Hello , ive got the following member function pointer problem noting that all my search result on the net wasn't useful at all.

class MyClass
{
Anotherclass MyObject;
void Function1();
void FunctionNeededPointer(Float*,int,int);
};

void MyClass::Function1()
{
//Here i need to pass a pointer of a function to the
//following function belonging to MyObject
//void Anotherclass::Function(void *aFunction,void
// *callingObject=NULL)

//so i tried this and didn't work
void (MyClass::*pToFunction)(float*,int,int)
= &MyClass::FunctionNeededPointer;

MyObject.Function((void*)pToFunction);
//oops error: cannot convert from void(__thiscall
// Myclass::*)(float*,int,int) to void*

//So had to make that function static and worked but
//it ended up that every thing in MyClass was converted
//to static which is not a nice solution at all
//so i'm wondering if someone could help with this
//problem
}
GeneralRe: Member function pointer Pin
Brian Shifrin2-Dec-03 5:42
Brian Shifrin2-Dec-03 5:42 
GeneralRe: Member function pointer Pin
kikocharana2-Dec-03 9:16
kikocharana2-Dec-03 9:16 
Generala Q about C++ and OS Pin
includeh102-Dec-03 1:04
includeh102-Dec-03 1:04 
GeneralRe: a Q about C++ and OS Pin
Michael P Butler2-Dec-03 1:26
Michael P Butler2-Dec-03 1:26 
GeneralRe: a Q about C++ and OS Pin
Kevin McFarlane2-Dec-03 2:43
Kevin McFarlane2-Dec-03 2:43 
GeneralRe: a Q about C++ and OS Pin
Tim Smith2-Dec-03 4:21
Tim Smith2-Dec-03 4:21 
GeneralRe: a Q about C++ and OS Pin
Signal-92-Dec-03 8:04
Signal-92-Dec-03 8:04 
GeneralRe: a Q about C++ and OS Pin
Tim Smith2-Dec-03 9:52
Tim Smith2-Dec-03 9:52 
GeneralRe: a Q about C++ and OS Pin
Big Art2-Dec-03 10:52
Big Art2-Dec-03 10:52 
GeneralProgrammatic control of mouse cursor Pin
Arshad Tanveer2-Dec-03 0:59
Arshad Tanveer2-Dec-03 0:59 
GeneralRe: Programmatic control of mouse cursor Pin
KellyR2-Dec-03 4:31
KellyR2-Dec-03 4:31 
GeneralRe: Programmatic control of mouse cursor Pin
El'Cachubrey2-Dec-03 4:36
El'Cachubrey2-Dec-03 4:36 
Generalwriting in a file Pin
karteek2-Dec-03 0:53
karteek2-Dec-03 0:53 
GeneralRe: writing in a file Pin
BaldwinMartin2-Dec-03 1:09
BaldwinMartin2-Dec-03 1:09 
GeneralRe: writing in a file Pin
karteek2-Dec-03 1:15
karteek2-Dec-03 1:15 
GeneralRe: writing in a file Pin
judo2-Dec-03 1:53
judo2-Dec-03 1:53 
GeneralRe: writing in a file Pin
BaldwinMartin2-Dec-03 2:12
BaldwinMartin2-Dec-03 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.