- #1
VirObitus
- 19
- 0
Hello folks,
Ok, I've been doing windows application tutorials, and I can make a mean dropdown list and dialog box, but I have no idea how to get the windows app to use a function. Say I just want a dialog box to pop up and use the function:
int myFunction ()
{
int i = 1;
return i;
}
to display the value of i in the dialog box. How do I do that, or something similar?
C or C++ versions are both acceptable.
Ok, I've been doing windows application tutorials, and I can make a mean dropdown list and dialog box, but I have no idea how to get the windows app to use a function. Say I just want a dialog box to pop up and use the function:
int myFunction ()
{
int i = 1;
return i;
}
to display the value of i in the dialog box. How do I do that, or something similar?
C or C++ versions are both acceptable.