-
Dialogs in dos window?
I'm making an MS-DOS game, I want to use windows dialog menus to communicate with my game, but I dont want my whole game to be in a window.
I have two questions though, can you create a dialog through an MS-dos menu that can communicate with the dos menu? And, can you make a dialog without resources? Mm, make that three questions, do I still need a message loop?
Thank you!
-
as long as you #include <windows> I'm pretty sure you can use any windows components as you wish. You just won't get the hInstance hPrevInstance that win_main would normally give you (assuming you're using plain old main)
-
Then, how do I add one without using resources?
-
If you're talking about the resource file that Visual Studio makes for you, you don't need it. That's something Visual Studio whips up to make win32 programming a bit easier. It is very possible to not use the resource file. You would have to create all the windows components yourself.
http://www.functionx.com/win32/
that link MIGHT help you. I just did a quick google search.
-
I'll check that site out, thank you!
-
Are you wanting to use win32 stuff in a console app?