Skip to main content
GameDev.net gamedev.net
🔒 Locked

Windows

Started by MSalley Dec 26, 2005 at 6:05 PM 3 replies 1.1k views
Original Post
MSalley
MSalley
(C++) Am I supposed to know how to make a window from scratch, or can I just rely on stuff that other people have already done?
-Mat² §alley©-
SiCrane
SiCrane
Considering you are posting in For Beginners, I don't think anyone would expect you to know how to make a window from scratch. You should, however, take the time to try to understand the steps that the code you use to create the window does. Ex: try to understand what the different member variables of the WNDCLASS/WNDCLASSEX do.
MSalley
MSalley
Ok. Thank you.
-Mat² §alley©-
nmi
nmi
Depends on what you want to do.

You can use MFC for instance to create windows. This will simplify things and is good for beginners. In .net there is a similar framework.

Or you can use the CreateWindow function. This is what windows OS provides to create a window. MFC will use that function in the end.

Or you can use a GUI framework like Qt. This will provide you with a platform independent way of generating GUI applications.
Red_falcon
Red_falcon
Or use instead of MFC, Windows Forms from managed C++, they combine advantages of GUI creation of C# and C++ OOP(that i personally like more than C# OOP)
-----"Master! Apprentice! Heartborne, 7th Seeker Warrior! Disciple! In me the Wishmaster..." Wishmaster - Nightwish

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.