| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Visual C++ |
JF> > I am interested in knowing more about the Visual C++ > concept and was wondering is it easier to implement > graphics menus into your source code with > or is is similar to "C" where you must make each little > menu item or button JF> "Visual C++" is the name of one particular C++ compiler, Microsoft's. The word "visual" is nothing more than a marketing gimmick. Microsoft C++ is no more "visual" than Borland C++ is "turbo", MetaWare C++ is "high", or IBM C++ is "visual age". So let's forget the "Visual C++" rubbish, and concentrate on what you really wanted to know, which was how you write Presentation Manager applications in C++, and how that differs from writing them in C. And the answer is that it is as different as you need it to be. If you have a "traditional" PM application written in C and calling the system API directly, then you can compile it in C++ with no changes (save for those necessary to account for the syntactic differences between the C and C++ languages). However, this is not your only option in C++. A fair number of C++ compilers come with additional tools for C++ that make life somewhat easier for the C++ programmer wanting to write PM applications, such as class libraries, which allow you to model your user inteface using C++ objects. For example, IBM Visual Age C++ comes with IBM OpenClass. Whereas in a "traditional" C++ application you create a listbox (say) by calling the system API function WinCreateWindow, in an C++ application that uses IBM OpenClass you create a standard window by creating an instance of the IListBox class. On top of the class libraries come the application generator tools. Prominare Designer, for example, allows you to design the menus and dialogues used by your application, and then will spit out the resource script files and C++ source code for using those dialogues in your application. > JdeBP < ___ X MegaMail 2.10 #0: --- Maximus/2 3.01* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4) SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 @PATH: 440/4 141/209 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.