|
-
March 27th, 2011, 06:48 AM
#3
Re: c++ question
Hmm, im still abit confused on how wndproc actually knows to route the messages to handleevent just by returning handleevent, because with a normal function if we returned a value that function would hold that value, like in this example:
int sum()
{
int a = 5 + 2;
return a;
}
x = sum();
Here, because we have returned int a to sum(), we can assign its returned value to a
variable, now, x is equal to 7.
So i cant see how wndproc knows to route all messages to handleevent.
Thanks for the replies
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|