Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Q) Function pointers and usage
#4
Im still strugling with this....
How can i make a smart dialog as a member function?
Because ShowDialog needs the address of the function itself which calls ShowDialog inside itself...

Example inside function cJobSystem.ShowSplash:
Code:
Copy      Help
if(!ShowDialog(dd &this.ShowSplash &controls 0 2)) ret
this gives: "Error in cJobSystem.ShowSplash: expected variable or function name."
Well thats all for now, 3M


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)