Click here to Skip to main content
15,929,439 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: function pointer [updated] Pin
Joaquín M López Muñoz6-Mar-02 9:24
Joaquín M López Muñoz6-Mar-02 9:24 
GeneralRe: function pointer [updated] Pin
Nish Nishant6-Mar-02 9:28
sitebuilderNish Nishant6-Mar-02 9:28 
GeneralRe: function pointer [updated] Pin
Joaquín M López Muñoz6-Mar-02 9:32
Joaquín M López Muñoz6-Mar-02 9:32 
GeneralRe: function pointer Pin
Chris Losinger6-Mar-02 8:38
professionalChris Losinger6-Mar-02 8:38 
GeneralRe: function pointer Pin
pba_6-Mar-02 8:39
pba_6-Mar-02 8:39 
GeneralRe: function pointer Pin
Nish Nishant6-Mar-02 9:03
sitebuilderNish Nishant6-Mar-02 9:03 
GeneralRe: function pointer Pin
Steve Severance6-Mar-02 15:52
Steve Severance6-Mar-02 15:52 
GeneralRe: function pointer Pin
Nish Nishant6-Mar-02 16:39
sitebuilderNish Nishant6-Mar-02 16:39 
Steve Severance wrote:
So basicly there is not a way to have an indpendant type of function pointer that can work for any function in any class?
I am trying to implement a command list where when the user type in a command it searches through its list, finds it and then executes the appropriate function


Actually you can point the same function pointer to any number of functions as long as they all have the same prototype [means same argument types and return value]

Nish

[Signature temporarily down]
GeneralRe: function pointer Pin
Steve Severance7-Mar-02 10:28
Steve Severance7-Mar-02 10:28 
GeneralMulti-threading Pin
amarg6-Mar-02 7:12
amarg6-Mar-02 7:12 
GeneralRe: Multi-threading Pin
Nish Nishant6-Mar-02 7:54
sitebuilderNish Nishant6-Mar-02 7:54 
GeneralRe: Multi-threading Pin
Joaquín M López Muñoz6-Mar-02 9:23
Joaquín M López Muñoz6-Mar-02 9:23 
GeneralRe: Multi-threading Pin
Morozov Alexey6-Mar-02 13:13
Morozov Alexey6-Mar-02 13:13 
GeneralA solution Pin
amarg7-Mar-02 7:04
amarg7-Mar-02 7:04 
GeneralRe: Multi-threading Pin
Stephen C. Steel8-Mar-02 8:39
Stephen C. Steel8-Mar-02 8:39 
GeneralChange Controls Size?! Pin
6-Mar-02 6:52
suss6-Mar-02 6:52 
GeneralRe: Change Controls Size?! Pin
Andres Manggini6-Mar-02 9:38
Andres Manggini6-Mar-02 9:38 
GeneralRe: Change Controls Size?! Pin
Carlos Antollini6-Mar-02 9:55
Carlos Antollini6-Mar-02 9:55 
GeneralRe: Change Controls Size?! Pin
moliate6-Mar-02 10:29
moliate6-Mar-02 10:29 
GeneralRe: Change Controls Size?! Pin
7-Mar-02 2:34
suss7-Mar-02 2:34 
GeneralExternal Control of VC++ Interface Pin
Blade[DMS]6-Mar-02 6:10
Blade[DMS]6-Mar-02 6:10 
Generalagain anchor property Pin
Mazdak6-Mar-02 6:05
Mazdak6-Mar-02 6:05 
QuestionHow do I pass arguments to a view? Pin
6-Mar-02 5:03
suss6-Mar-02 5:03 
AnswerRe: How do I pass arguments to a view? Pin
Tomasz Sowinski6-Mar-02 5:53
Tomasz Sowinski6-Mar-02 5:53 
GeneralRe: How do I pass arguments to a view? Pin
6-Mar-02 6:26
suss6-Mar-02 6:26 

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.