MSG msg ;
HWND hwnd;
WNDCLASS wc;

to me this syntax looks like msg hwnd and wc(all lower case) are variables is this right? and with the exception of wc would changing the other 2 change anything?

MSG msg ;
HWND hwnd;
WNDCLASS wc;

to me this syntax looks like msg hwnd and wc(all lower case) are variables is this right?

Yes.

and with the exception of wc would changing the other 2 change anything?

Change what to what?

Yes.

Change what to what?

would it affect the program any?

would it affect the program any?

Could you provide an example or two regarding the changes you mean?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.