Click here to Skip to main content
15,922,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to handle Column Click in a multi column list box Pin
Amrit Agr18-Sep-11 19:25
Amrit Agr18-Sep-11 19:25 
GeneralRe: How to handle Column Click in a multi column list box Pin
Richard MacCutchan18-Sep-11 23:04
mveRichard MacCutchan18-Sep-11 23:04 
GeneralRe: How to handle Column Click in a multi column list box Pin
David Crow19-Sep-11 3:26
David Crow19-Sep-11 3:26 
GeneralRe: How to handle Column Click in a multi column list box Pin
Richard MacCutchan19-Sep-11 4:00
mveRichard MacCutchan19-Sep-11 4:00 
GeneralRe: How to handle Column Click in a multi column list box Pin
David Crow19-Sep-11 4:40
David Crow19-Sep-11 4:40 
JokeRe: How to handle Column Click in a multi column list box Pin
Richard MacCutchan19-Sep-11 5:04
mveRichard MacCutchan19-Sep-11 5:04 
AnswerRe: How to handle Column Click in a multi column list box - caution long post Pin
enhzflep19-Sep-11 15:41
enhzflep19-Sep-11 15:41 
QuestionShellExecuteEx for windows7 Pin
MKC00216-Sep-11 22:47
MKC00216-Sep-11 22:47 
AnswerRe: ShellExecuteEx for windows7 Pin
Software_Developer17-Sep-11 10:53
Software_Developer17-Sep-11 10:53 
AnswerRe: ShellExecuteEx for windows7 Pin
Philippe Mori17-Sep-11 14:27
Philippe Mori17-Sep-11 14:27 
GeneralRe: ShellExecuteEx for windows7 Pin
MKC00219-Sep-11 7:00
MKC00219-Sep-11 7:00 
QuestionRe: ShellExecuteEx for windows7 Pin
David Crow19-Sep-11 8:07
David Crow19-Sep-11 8:07 
AnswerRe: ShellExecuteEx for windows7 Pin
MKC00220-Sep-11 6:58
MKC00220-Sep-11 6:58 
QuestionRe: ShellExecuteEx for windows7 Pin
David Crow20-Sep-11 9:15
David Crow20-Sep-11 9:15 
AnswerRe: ShellExecuteEx for windows7 Pin
MKC00221-Sep-11 4:12
MKC00221-Sep-11 4:12 
AnswerRe: ShellExecuteEx for windows7 Pin
MKC00223-Sep-11 0:50
MKC00223-Sep-11 0:50 
AnswerRe: ShellExecuteEx for windows7 Pin
MKC00225-Sep-11 2:37
MKC00225-Sep-11 2:37 
QuestionPointer Casting warning Pin
Software200715-Sep-11 8:57
Software200715-Sep-11 8:57 
QuestionRe: Pointer Casting warning Pin
David Crow15-Sep-11 9:08
David Crow15-Sep-11 9:08 
AnswerRe: Pointer Casting warning Pin
Software200715-Sep-11 9:36
Software200715-Sep-11 9:36 
AnswerRe: Pointer Casting warning Pin
krmed15-Sep-11 10:04
krmed15-Sep-11 10:04 
GeneralRe: Pointer Casting warning Pin
Software200715-Sep-11 10:17
Software200715-Sep-11 10:17 
AnswerRe: Pointer Casting warning Pin
Chuck O'Toole15-Sep-11 10:53
Chuck O'Toole15-Sep-11 10:53 
AnswerRe: Pointer Casting warning Pin
tushar_patil20-Sep-11 20:57
tushar_patil20-Sep-11 20:57 
hi I dnt knw clearly what type of
sgnl_action.sa_handler
is. But this is a little piece of code without any warning and errors might be helpful to you.

C#
#include <stdio.h>


void (*sa_handler)(int);  // function pointer takes int type
                          // arg and retuns void as we have to 
                          //typecast func handle_alarm to this type

void handle_alarm() {
    printf("helooo");
    }

 void  main(int argc, _TCHAR* argv[])
 {
       handle_alarm(); //normal call to function
       sa_handler = (void (*)(int))handle_alarm; // compatible typecast
       sa_handler(0);  // call with a function pointer
                       // as it takes one argument we have 
                       //to pass a dummy arg.
 }

QuestionCTreeView classname Pin
_Flaviu15-Sep-11 8:21
_Flaviu15-Sep-11 8:21 

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.