Question

Probably simple and easy but .....

Asked by: gecko_au2003

how do you create a good looking GUI in visual studio's c++ or c# ( I am not entirely sure exactly what it is called ) considering that it is microsofts version of c++ ( as far as I am aware lol ) correct me if I am wrong :)

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-06-14 at 13:11:10ID21458049
Topic

C++ Programming Language

Participating Experts
6
Points
500
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Easy Easy Word-Visual Basic ?
    This is so easy! I used to do it in good 'ole Quick Basic quite a few years back, but I'm either completely braindead or half asleep. Take a look at this: ===C=O=D=E========== Private Sub txtHearingDate_Change() dash = "-" ' <- already dimmed ...
  2. MS Visual Studio
    Hey guys, I'm going to take a C Programming course and I need a recomendation: Is Microsof Visual Studio a good option to use? Someone told me I can use it as a compiler when writing programs, but am I going to be able to use it to write simple programs and then upload my pro...
  3. Visual Studio and Resources
    Hello. I have a program developed in Visual Studio 6. I made a stringtable and loads the strings in labels, buttons etc. Now I want to make a new stringtable and translate every string to another language. I tried to create a new string table but I can't manage to load the ...
  4. Install "Exchange-aware" NTBackup
    I have just performed a simple backup of Exchange 2003 with NTBackup and wish to restore it on a server with only Windows 2003 installed. Of course the NTBackup that comes with Windows 2003 is not Exchange-aware. How do I install an Exchange-aware version of NTBackup on the...
  5. help...lol...
    ok here it goes... i was looking through ms-dos old posts and found some who said i can clean a folder ( all the files and subfolders in it) using the following setup. I conformed it or so i thought to clean up all my temp folders, unfortunately something went terribly wrong....
  6. Visual Studio 2005 with C#
    Hi, I'm looking for a very basic beginner tutorial for creating a program in visual studio . net with c# I have no experience with any visual studio so anything at all will help Something simple like hello world or creating a webpage to enter your name and then maybe print...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: AxterPosted on 2005-06-14 at 13:16:02ID: 14215512

You can create an MFC application, which would allow you to quickly create a GUI app.

What version of VC++ do you have?

 

by: gecko_au2003Posted on 2005-06-14 at 13:18:53ID: 14215550

6.0 professional

 

by: AxterPosted on 2005-06-14 at 13:23:38ID: 14215599

Then I recommend you create an MFC application.

You can look at CodeGuru for some example projects.

 

by: gecko_au2003Posted on 2005-06-14 at 13:56:49ID: 14215905

I dont suppose you know of a website that has a tutorial with screen shots or anything like that which would take me through the basics of visual studio and how to create a good looking GUI or something to that extent.

 

by: AxterPosted on 2005-06-14 at 14:02:06ID: 14215945

 

by: jaime_olivaresPosted on 2005-06-14 at 14:05:20ID: 14215974

For nice interface examples, have a look to all codeproject.com articles, but specially:
http://www.codeproject.com/docking/prod_profuis.asp

 

by: gecko_au2003Posted on 2005-06-14 at 14:11:16ID: 14216020

ok I am trying to do this simple SDI example here :

http://www.codeproject.com/dialog/sditutorial1.asp

however in step 6 where it has the screen shot which is explaining about the white space is called the view. I DO NOT see that, all I see are the classes, I do not see any SDI ?? What am I doing wrong ?? :-S  *Whimpers*

 

by: gecko_au2003Posted on 2005-06-14 at 14:13:28ID: 14216038

Increasing this to 500 because you are being such a great help and I am new to this so I will probably be asking a lot more questions in the near future :) And I dont want to get off to a bad start !!!

 

by: jaime_olivaresPosted on 2005-06-14 at 14:20:30ID: 14216090

>however in step 6 where it has the screen shot which is explaining about the white space is called the view.
> I DO NOT see that, all I see are the classes, I do not see any SDI ?? What am I doing wrong ?? :-S  *Whimpers*

Not sure about your question, which Visual C++ version are you using?
Anyway, appears you expect to view this screenshot at design-time, but this is the screenshot at run-time.

You won't see any similar at design-time, like in visual basic, just for dialogs (different from views)

 

by: r-kPosted on 2005-06-14 at 22:58:34ID: 14218159

While you can certainly learn MFC programming by looking at samples on the web, may I suggest that you should consider getting a good book to start with. This may seem slow initially, but will be well worth it in the long run to get a broader perspective.

Also (speaking from my own experience), avoid use of the wizards that are built-in with Visual Studio, they simply make it harder to learn.

One book that I found very handy was "Programming Windows with MFC" by Jeff Prosise. I have the 1st edition, which I regard as superior to the 2nd edition, but if you can borrow either one from a library it should be a good place to start.

My final suggestion is to not start with SDI/MDI projects, but start with dialog based projects initially. Get used to the "feel" of MFC that way.

Also, see these:

 http://devcentral.iftech.com/articles/MFC/default.php
 http://baskaronline.tripod.com/MFC1.htm

 

by: itsmeandnobodyelsePosted on 2005-06-14 at 23:06:47ID: 14218185

>>>> create a good looking GUI in visual studio's c++ or c#

C# isn't MS version of C++ but a new Java like programming language that wasn't compiled to machine code like C++ but to an intermediate code that actually was compiled at runtime by a so-called JITter (just-in-time compiler) of .NET that needs to be installed at the target machine before running any DotNet application. Visual Basic .Net and 'Managed C++' can produce a compatible intermediate code, so principally DotNet components can be arbitrarily created and exchanged by VB.net, C# or managed C++.

Visual C++ 6.0 is from 1997/1998 and doesn't know anything of DotNet (2002).

>>>> I DO NOT see that, all I see are the classes, I do not see any SDI

SDI is 'Single Document Interface' and the document and view classes actually are the main part of that interface. You need to build the application and run it by the debugger (F5) to 'see' anything. However, it isn't more than a white screen, some menus and toolbar buttons that could be seen at this step.

Regards, Alex


 

by: PlanetCppPosted on 2005-06-15 at 06:47:34ID: 14221361

theres always the win32 api route. i have some examples and tutorials on my site
www.PlanetCpp.com

once you get used to it you can write windows out really fast. i have a wrapper class i wrote so when i need a new window i simply create a new class and add what i need.

 

by: topdog770Posted on 2005-06-16 at 07:35:39ID: 14231575

In my experience, having a specific goal makes learning how to program easier as well.

Just trying to create a Windows GUI for the sole purpose of learning how to do hasn't seemed to
work well for any of the people I have ever trained.. if you have some concrete goal and direction
the programming will become easier.

The suggestion about using a Dialog based application to begin with is also a great one.  Dialog based apps in MFC
are much simplier and it's easier to get a feel for working with controls.

There are some decent code examples on how to do specific tasks in vc++ available on the web, but you really should look at getting a couple of books ( and again.. knowing what you want to accomplish in the beginning will make picking the right books a lot easier )

You mention both c++ and C#

Depending on what you need to accomplish, if you are starting from the beginning, I would recommend starting with .NET.
The GUI design and control implementation is easier to use ( more result for less work )

 

by: gecko_au2003Posted on 2005-06-19 at 07:41:48ID: 14251936

Sorry for taking so long in getting back , you have all been great with helping me out !! I really appreicate it and especially the patience !!

Thanks again

Kind regards

Gecko

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...