Programming Question
Moderator: General Mods
Programming Question
I have a small console app written in C that I need to make into a Win32 GUI version. All it needs to do is accept a string, a file name, preferably with a browse button, and have an execute button. I have never written a graphical program in C before and I am having difficulty finding info about it. My coding skills are extremely rusty. Does anyone have any suggestions for places to look for tutorials or code samples?
~Bent
-
- Romhacking God
- Posts: 922
- Joined: Wed Jul 28, 2004 11:27 pm
- Contact:
Just look up 'win32 tutorial' in Google... tons of information.
It's much easier to make a Win32 GUI program using the Visual C/C++ compiler because you can use a resource editor for the GUI design.
After you've done some research via Google, I'll be happy to answer any specific questions you may have.
It's much easier to make a Win32 GUI program using the Visual C/C++ compiler because you can use a resource editor for the GUI design.
After you've done some research via Google, I'll be happy to answer any specific questions you may have.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
I am having problems creating objects in my main window. I have a menu bar and about box and everything (not really necessary, but good for learning) but my main window is blank and I am a little confused how to change this. I need a simple text box, a browse button, and execute button, then I am pretty much done, most of the actual code is already in place.
~Bent
-
- Trooper
- Posts: 387
- Joined: Fri Jul 30, 2004 6:25 am
- Location: Mexico
- Contact:
You could do a dialog through a resource editor: http://www.relisoft.com/win32/windlg.html
Or perhaps adding them through the program: http://www.foosyerdoos.fsnet.co.uk/
Or perhaps adding them through the program: http://www.foosyerdoos.fsnet.co.uk/
_-|-_