faqts : Computers : Programming : Languages : C++

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 15 people (53%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

C++.NET: How to create a new Windows application in Microsoft Visual Studio C++.NET?

Jan 10th, 2004 12:32
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 04 January 2004 - 09:01 pm --------------------

C++.NET: How to create a new Windows application in Microsoft Visual 
Studio C++.NET?

---

Steps: Overview:

 1. -Start Visual Microsoft studio

 2. -click button 'New Project'
     or 'File'->'New'->'Project'

 3. -select from list 'Visual C++ Projects'
     in the left pane

 4. -you have to choose a new name for this project

     e.g.

      Name = Application1

      Location = c:\temp\visualcpp

                 (change this to your own choice)

 5. -select which Windows application:

    1. -double click on icon 'Win32'

       (this is for a usual .exe file,
        running on a Windows 32 platform)
        in the right pane


    2. -A wizard will start

    3. -Click on the left pane on link

        'Application Settings'

    4. -enable radio button

         'Windows application'

    5. -click button 'Finish'

 6. -To view the form

     1. Click on 'Resource Files'
        in the 'Solution Explorer'
        in the right pane

     2. Click on 'Application11.rc'

     3. This will show e.g.

        1. Accelerator

        2. Dialog

        3. Icon

        4. Menu

        5. String table

     4. Click e.g. on 'Dialog'

        1. Click on 'IDD_ABOUTBOX'

        2. This will put a form on your
           application

        3. To put buttons, textboxes on this form

           1. -Open 'Toolbox' in the left panel
              (click on this)

           2. -click button 'Dialog Editor'

               You can then choose e.g.
               from the following controls:

               -Pointer

               -Button

               -Check Box

               -Edit Control

               -Combo Box

               -List Box

               -Group Box

               -Radio Button

               -Static Text

               -Picture Control

               -Horizontal Scrollbar

               -Vertical Scrollbar

               -Slider Control

               -Spin Control

               -Progress Control

               -Hot Key

               -List Control

               -Tree Control

               -Tab Control

               -Animation Control

               -Rich Edit control

               -Date time picker

               -Month Calendar Control

               -IP Address Control

               -Extended Combo Box

               -Custom Control

---
---

Internet: see also:

---

Microsoft:Visual Studio: Project: Create: New: Can you give overview? 
[console / windows / Internet]
http://www.faqts.com/knowledge_base/view.phtml/aid/28187/fid/1600

----------------------------------------------------------------------