To create Visual C++ .Net Dialogs,  IDD_KJV_VCNET_DIALOG and IDD_ABOUTBOX 
 
 
 

    

       The  designs
 
1. IDD_KJV_VCNET_DIALOG  
 

 

2. IDD_ABOUTBOX 
 

 

Add items ...
 
1. Add Database and Picture Files
 
  • From the CD-Rom - Teach_VNet, copy  the database  file KJV2002.mdb (\\C_Col_VC++Net\KJV_VCNet\res\KJV2002.mdb) to the folder - c:\KJV_VCNet\res
     
  • From the CD-Rom - Teach_VNet, copy  the bmp files  ingraphic1.bmp and About.bmp (\\C_Col_VC++Net\KJV_VCNet\res\ingraphic1.bmp) to the folder - c:\KJV_VCNet\res
     
  • On the Projet menu , click Add Resource, Add Resource dialog box appears, select Bitmap, click Import, Import dialog box appears,  select the file ingraphic1.bmp  of the folder c:\KJV_VCNet\res, and then click Open.  New
    item - IDB_BITMAP1 added to the Bitmap folder of Resource View
  • On the Projet menu , click Add Resource, Add Resource dialog box appears, select Bitmap, click Import, Import dialog box appears,  select the file About.bmp  of the folder c:\KJV_VCNet\res, and then click Open.  New
    item - IDB_BITMAP2 added to the Bitmap folder of Resource View

 

2. Create the menu - IDR_MENU
 
  1. On the Project menu , click Add Resource, The Add Resource dialog box appears.
  2. In this dialog, select Menu and click New
  3. In the Resource View - KJV_VCNet display the Folder  Menu.
  4. Use the Editor Menu to add items to the menu  IDR_MENU

    The IDR_MENU design
     


    The Properties ...
     

    Caption
     
    ID Propmt Separator
    Info Menu
    Book
    -
    About
    -
    Exit

    ID_INFOMENU_BOOK

    ID_INFOMENU_ABOUT

    ID_INFOMENU_EXIT

    Display the Book Dialog

    Display the About Dialog

    Quit the application

    False
    True
    False
    True
    False

     

 

 Add controls to IDD_KJV_VCNET_DIALOG and  IDD_ABOUTBOX

 

 The Codes ....

 

 

 


 


Previous Home
3
Next