OK, so windows places message information on the stack, and then tells WndProc() what has been placed on the stack so it can retrieve it. I think I understand.
Thank you for that good analogy.
...
Type: Posts; User: RaisinToe
OK, so windows places message information on the stack, and then tells WndProc() what has been placed on the stack so it can retrieve it. I think I understand.
Thank you for that good analogy.
...
The windows operating system calls the __stdcall WndProc() function, right? So how does the program know when to retreive the argument passed by windows? Or am I still not understanding it?
Hmmm, how does the calling convention know what arguments should be passed to the function? Where does it go to retrieve the arguments? Also, does that mean any function using __stdcall should always...
I am curious how the __stdcall keyword works to link a win32 application to the windows operating system. What is literally happening inside the computer when this instruction is executed? I read...
I am having difficulty understanding the purpose of using a destructor function.
If I don't have a destructor function, objects will still be destroyed at the end of a function, and when the...
Is a lot of the extra code needed because of the way Visual Studio is set up? Or is it just the typical MFC code that you are talking about?
I wanted to add the code here, so you can see what I was trying to do.
// A minimal MFC program.
#include <afxwin.h>
// Derive essential classes.
// This is the main window class.
class...
Thank you, I got the 90-day trial downloaded now. I had to virtualy mount the ISO file, so it is taking up 3.31 GB of space on my computer. Can I get rid of it, now that I have used it to download...
I am having trouble getting onto the Microsoft web site today. Is everyone else having the same problem?
I guess I am getting the wrong idea. I just need to take a look at the code that is generated by the wizard.
I just mean, what are the pieces from MFC that I can use right now?
I mean, what are the classes that I can use from MFC right now?
I ask, what are the pieces that I can use, because I suppose...
Cool, I am not an official student anywhere, but I am studying at home. Is there any way that I could be verified as a student?
Where can I see what elements are included from MFC, when using...
It sounds like The files needed for MFC, are not included with Microsoft's Visual C++ express edition. Is that true?
If so, is there a way of obtaining the MFC files for cheap?
I am having difficulty making a simple MFC based program on Microsoft's VC++. I don't like the wizard junk. I want to be completely in charge of the header files being used. I want to have direct,...
Thank you, I have never heard anything about that before.
I can not tell what is wrong with my code. I am just trying to learn how to point to structure members.
#include <iostream>
using namespace std;
struct structure
{
char c;
int i;
Awesome, thanks
So if I try to do this same thing without using the 'strcmp()' function,
I guess I would have to get the values given by my pointers.
Put the values into variables, and then...
Thank you,
I am still getting used to this array buisiness.
I just came accross another problem.
Is there a way that I can compair a 1-dementional array, with a 3-dementional array?
here is...
Thank you for pointing that out.
But I also just tested out '*(*pntr + 1)', and it seemed to work just fine.
* has higher precedence than + or -, so I think I see why It should always be done the...
So how is it that the character form of the specified pntr array is not displayed on the screen instead of displaying the string of loc? How exactly do pointers work when using *(pntr + 1).
ooooooh. So *pntr[1] is equivalent to *(*pntr + 1).
I am just wondering what the difference is between using '*(pntr + 1)' or '*pntr[1]'. When using '*pntr[1]', to point to an array of my variable 'char loc', I get just the character that I pointed...
Oh . . . thank you.
Too often, in other web sites, I have gone to the FAQs, and they have nothing that I care to know. But that's not the case here.:)
Hmm, making a simple pause still looks...
I am new to c++, so I am still trying to figure out the basics.
When using the cin stream to input information from the console, why does the program always terminate when I press the Enter key?...
OK, thanks
I just have a goofy IDE. It has a place to put linker information, but I need to learn how to use it.
It was just a free IDE/compiler from downloads.com.