Advertisement

I just want to create a basic Window!

Started by September 06, 2000 04:16 PM
11 comments, last by carlinke 24 years, 3 months ago
oops. Just saw the post on how you can''t type in the includes on this forum properly! Forget the second part of my message above then.
You will need to add 2 functions after creating the window, it is:

ShowWindow(hwnd, cmd_show);
UpdateWindow(hwnd);

Or something similar (can''t remember off hand the parameters, but look those 2 functions up in help)...

Advertisement
Doh! You are getting linker errors...

When setting up your project you must specify a "win 32 application"...

Then copy/paste the code into the project and it should compile. It appears you are missing some compiler directives, and specifying the project as win32 application should fix that.

This topic is closed to new replies.

Advertisement