Click here to Skip to main content
15,904,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange SetWindowText() under VS2003 Pin
toxcct20-Jun-05 20:38
toxcct20-Jun-05 20:38 
GeneralNeed help in RLC(Run-Length Coding)!!! Pin
Member 199230312-Jun-05 20:07
Member 199230312-Jun-05 20:07 
GeneralRe: Need help in RLC(Run-Length Coding)!!! Pin
Ravi Bhavnani13-Jun-05 6:37
professionalRavi Bhavnani13-Jun-05 6:37 
GeneralProblem in adding fifth digit to version number in VC++ 6.0 Pin
Neeranjan12-Jun-05 18:46
Neeranjan12-Jun-05 18:46 
GeneralRe: Problem in adding fifth digit to version number in VC++ 6.0 Pin
Blake Miller13-Jun-05 7:52
Blake Miller13-Jun-05 7:52 
GeneralRe: Problem in adding fifth digit to version number in VC++ 6.0 Pin
Neeranjan13-Jun-05 19:46
Neeranjan13-Jun-05 19:46 
GeneralC++ Array Of Function Pointers problem Pin
CNewbie12-Jun-05 18:21
CNewbie12-Jun-05 18:21 
GeneralRe: C++ Array Of Function Pointers problem Pin
GDavy12-Jun-05 19:34
GDavy12-Jun-05 19:34 
you should call the functions like
assign the address of the function like:

void (CDlg::*functionarray1[48])() = { &CDlg::function1, &CDlg::function2 };<br />

and call them like:
(FuncPtr.*(functionarray1[insptr]))();<br />

I think that should do it...
Offcourse you should be mindfull to call functions on a CDialog object which has not yet been created (does not have a valid HWND member).

Greetings,
Davy
GeneralRe: C++ Array Of Function Pointers problem Pin
toxcct12-Jun-05 20:26
toxcct12-Jun-05 20:26 
GeneralRe: C++ Array Of Function Pointers problem Pin
Bob Stanneveld12-Jun-05 20:56
Bob Stanneveld12-Jun-05 20:56 
GeneralRe: C++ Array Of Function Pointers problem Pin
David Crow13-Jun-05 3:16
David Crow13-Jun-05 3:16 
GeneralRe: C++ Array Of Function Pointers problem Pin
CNewbie13-Jun-05 5:08
CNewbie13-Jun-05 5:08 
GeneralRe: C++ Array Of Function Pointers problem Pin
David Crow13-Jun-05 5:17
David Crow13-Jun-05 5:17 
GeneralRe: C++ Array Of Function Pointers problem Pin
CNewbie13-Jun-05 5:39
CNewbie13-Jun-05 5:39 
GeneralRe: C++ Array Of Function Pointers problem Pin
David Crow13-Jun-05 6:08
David Crow13-Jun-05 6:08 
GeneralRe: C++ Array Of Function Pointers problem Pin
CNewbie13-Jun-05 6:16
CNewbie13-Jun-05 6:16 
GeneralRe: C++ Array Of Function Pointers problem Pin
David Crow13-Jun-05 6:27
David Crow13-Jun-05 6:27 
GeneralRe: C++ Array Of Function Pointers problem Pin
CNewbie15-Jun-05 19:32
CNewbie15-Jun-05 19:32 
GeneralRe: C++ Array Of Function Pointers problem Pin
David Crow16-Jun-05 2:56
David Crow16-Jun-05 2:56 
GeneralRe: C++ Array Of Function Pointers problem Pin
CNewbie16-Jun-05 5:30
CNewbie16-Jun-05 5:30 
GeneralRe: C++ Array Of Function Pointers problem Pin
David Crow16-Jun-05 5:43
David Crow16-Jun-05 5:43 
GeneralRe: C++ Array Of Function Pointers problem Pin
CNewbie16-Jun-05 5:54
CNewbie16-Jun-05 5:54 
GeneralRe: C++ Array Of Function Pointers problem Pin
David Crow16-Jun-05 6:11
David Crow16-Jun-05 6:11 
GeneralRe: C++ Array Of Function Pointers problem Pin
CNewbie16-Jun-05 6:13
CNewbie16-Jun-05 6:13 
GeneralRe: C++ Array Of Function Pointers problem Pin
David Crow16-Jun-05 6:21
David Crow16-Jun-05 6: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.