Lemme quote y'all... starting with apprentice =)
aprentice said:
Some people find winapi more easier than MFC, I know I do.
I really can't see how people find win32 api easier. For example, you need to define a message handler when working with windows. In MFC, you can sinply override those messages you want to handle. Ahhh, sweetness.
And not to even bother with the accursed structs when you for example want to add an item to listview... MFC has functions that doesn't use all of the functionality of those, hence making it MUCH easier to add a simple line without much hassle. Of course, it still provides struct functions so you don't lose out anything on using MFC.
And the fact that all functions are wrapped up in classes and you don't have to use GetDlgItem or such... that's just friggin' sweet!
and the second reason that i am going to need a real easy way to access files or something to create a sort of debugger
Because my last debugger in the chip8 project was kind of burdensome to code
That is the beuty of win32 programming

it saves you a lot of trouble rather than dos.
The WinAPI is actually easier to understand than the Poo people call MFC. Unfortunately sometimes obfuscation of what is going on underneath makes for poor programing.
It sure isn't. Win32 api is confusing, hard to understand, hard to get right and a friggin' pain in the ass. Sure, mfc hides a lot of details, but it never leads to poor programming.
I never use MFC to be honest because as many professionals have observed "MFC is a poor excuse to hide all the inadequacies of win32 with even worse ways of handling all the functionality of the windows API"
Well, that's them. MFC is rather good, if you get to know it. I have yet to see ONE THING that mfc makes worse than using the real win32 api.
I use Borlands classes and the win32 API directly. I don't waste time with something that is moot and pointless (MFC in this case).
Once again, it isn't pointless and moot.
As for how Kevin19 is doing things, I think most of you are arguing for the sake of arguing, obviously he is having fun with what he's doing. If he wants to use DOS or win32API let him. He'll have fun and learn something, it's bettern than learning nothing as a result.
Actually, you see... it's better to lead a mad who's lost out of the labyrinth rather than leave him there. I think kevin should try an effort to learn win32 api. Dos is outdated is is obviously crap.
I really find MFC just another anoying layer of obfuscation by Microsoft that really isn't useful unless you like to cut your head off and use it for shark bait regularly :teehee:
And I think you're wrong
I personally use MFC, ...
Yes, I think zenogais is correctly here... MFC is really useful. But oh I'm repeating myself :evil:
I exmained both and WIN32API looks more extensive and sensible to the eye
But all this windows programming business is really frustrating so many pieces of code to deal with one thing
I know this is win32api
But is not there something that lets you build and modify the properties of the window and make menus other than program them yourself using resource files
I would really appreciate it if you people could help me understand this interface better
Because i really need to get done studying the basics of it
So i can start trying out THE 6502 CPU code i programmed
There is. The easiest way is to do it is to create resources, then use the LoadMenu() api, which will give you a handle to the menu. There's also other menu functions such as ShowMenu() and EnableMenu() if I'm not mistaken. There are also functions to modify and create menues dynamically. Such are CreateMenu, CreatePopupMenu, AppendMenu, and more. You should take a look into the windows sdk. VC++ has all win32 api functions documented.
I do not want to sound petty
But this is really frustrating scripting the resource file
Could not they just make a friendly PROGRAMMER interface like in visual basic to design your menus and all the visual appendages
I thought this too when I first started... but there is a grid which can be enabled in the toolbar. Also buttons that align buttons and make them same size/height =) Great stuff.