Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

RedRabbit

Simple Window

This topic is 5281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Which is the simplest/fastest way to create a WinAPI window? Ive been told there was an extremely short and quick way, please help Thanks

Share this post


Link to post
Share on other sites
Advertisement
Here''s one: use visual basic.

If you want a better answer you might at least mention what programming language you''re using.

Share this post


Link to post
Share on other sites
Heh, I''m typing this in my own web browser I just built. Amazing stuff.

Anyway, good site... go here..

http://www.functionx.com/win32

Share this post


Link to post
Share on other sites
Well the quickest way to build one is in MFC (microsoft foundation classes). You can use the App Wizzard in VC++ and tell it you want a simple window or dialog and it will instantly start you out with code that does a dialog or a window.

Now the draw back is that it is MFC, which means if you don''t know Win32 very well and you have to dig deep into the code it might get a little difficult to understand. Also since the app wizzard built it, there will be lots of fluff, or bloat code. They run ASSERTS on everything and do all sorts of stuff that may not be totally needed. If you are doing it in C++ though with classes, this is the best way to go.

If this is for a game, forget it. MFC will make things slow for you.

I hope this helps you out. If not look me up on our forum and we can go step by step on how to make one in Win32 useing just C.



Sincerely,
Randy Trulson
www.GamePotato.com
www.NeuronGames.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!