Re: [Dev-C++] Buttons in a windows GUI app
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ewald H. <in...@ho...> - 2004-05-04 19:11:43
|
Coding a Windows GUI application is really a bit of a pain compared to good old console-based applications. And using libraries to do the job is possible, but then you miss out on understanding how Windows works. I would suggest getting hold of the Programming Windows book by Charles Petzold. It is an awesome reference and documents how to do things without relying on MFC most of the time. If you want a simple example of a program that displays a dialog box with a button and a text field, you could download it from my site under the Programming section in the GUI Applications section. It's the output generated by a tool I am working on. When you get serious about Windows programming, you would have to get a resource editor to assist you with designing your layouts. I humbly suggest checking out the MingW Developer Studio at http://www.parinya.ca/ as it contains a great resource editor that you can use even if you still use Dev-C++ as your main development environment. A good place to start with Windows programming is the link http://www.relisoft.com/win32/winnie.html which will take you to Reliable Software's excellent Win32 programming tutorial. It is an C++ orientated tutorial that will give you a solid foundation for starting Windows development. I also often refer to The Complete Reference : Visual C++ 6 by Osborne books a lot since it has two chapters dedicated to procedure orientated Windows programming without MFC as well as being quite a handy reference to general C and C++ programming. Regards Ewald Horn Proprietor/Eienaar : Horn Labs Cell/Sel : 083 519 1615 Website : http://www.hornlabs.co.za Email/E-pos : in...@ho... |