Click here to Skip to main content
16,011,436 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Child Windows Pin
Cathy2-May-01 7:57
Cathy2-May-01 7:57 
GeneralRe: Child Windows Pin
Will Nolan2-May-01 22:24
Will Nolan2-May-01 22:24 
GeneralRe: Child Windows Pin
F.Dost3-May-01 4:50
F.Dost3-May-01 4:50 
GeneralRe: Child Windows Pin
Cathy4-May-01 5:14
Cathy4-May-01 5:14 
GeneralGradiant Color Filling in Irregular Shape Pin
SriSubbu2-May-01 5:57
professionalSriSubbu2-May-01 5:57 
GeneralRe: Gradiant Color Filling in Irregular Shape Pin
2-May-01 6:10
suss2-May-01 6:10 
Generalcalling functions using pointers Pin
2-May-01 5:01
suss2-May-01 5:01 
GeneralRe: calling functions using pointers Pin
2-May-01 5:12
suss2-May-01 5:12 
Wanting to call the following function using a pointer-to-function:

void func1();


Either typedef the pointer-to-function-type:

typedef void (*pfn1_t)();


or use it as-is:

int main()
{
    void (*pfn1)();
    pfn1 = &func1;
    (*pfn1)();

    pfn1_t pfn1_ = &func1; // using typedef

    (*pfn1_)();

    return 0;
}

GeneralRe: calling functions using pointers Pin
Michael Dunn2-May-01 7:04
sitebuilderMichael Dunn2-May-01 7:04 
GeneralCool interfaces Pin
Bilal Naveed2-May-01 4:31
Bilal Naveed2-May-01 4:31 
GeneralRe: Cool interfaces Pin
2-May-01 6:11
suss2-May-01 6:11 
GeneralRe: Cool interfaces Pin
Michael Dunn2-May-01 7:07
sitebuilderMichael Dunn2-May-01 7:07 
GeneralPassing a Function Pointer of a member of a class Pin
2-May-01 4:29
suss2-May-01 4:29 
GeneralRe: Passing a Function Pointer of a member of a class Pin
2-May-01 6:15
suss2-May-01 6:15 
GeneralRe: Passing a Function Pointer of a member of a class Pin
Michael Dunn2-May-01 7:08
sitebuilderMichael Dunn2-May-01 7:08 
GeneralINI File Weirdness Pin
#realJSOP2-May-01 3:35
professional#realJSOP2-May-01 3:35 
GeneralRe: INI File Weirdness Pin
2-May-01 3:48
suss2-May-01 3:48 
GeneralBest Method-Rebooting Windows Pin
Paul Selormey2-May-01 1:59
Paul Selormey2-May-01 1:59 
GeneralRe: Best Method-Rebooting Windows Pin
Peter Pearson2-May-01 2:21
Peter Pearson2-May-01 2:21 
GeneralRe: Best Method-Rebooting Windows Pin
Paul Selormey2-May-01 18:10
Paul Selormey2-May-01 18:10 
QuestionWS_EX_LEFTSCROLLBAR with combo boxes not working? Pin
1-May-01 23:40
suss1-May-01 23:40 
AnswerRe: WS_EX_LEFTSCROLLBAR with combo boxes not working? Pin
Tomasz Sowinski2-May-01 0:18
Tomasz Sowinski2-May-01 0:18 
GeneralRe: WS_EX_LEFTSCROLLBAR with combo boxes not working? Pin
2-May-01 0:35
suss2-May-01 0:35 
GeneralRe: WS_EX_LEFTSCROLLBAR with combo boxes not working? Pin
Tomasz Sowinski2-May-01 1:02
Tomasz Sowinski2-May-01 1:02 
GeneralRe: WS_EX_LEFTSCROLLBAR with combo boxes not working? Pin
2-May-01 4:18
suss2-May-01 4:18 

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.