To create Visual C++ .Net Dialog IDD_BOOK 
 
 
 


 


   IDD_BOOK   dialog , the  design  ...
 
 
 
  1st Page selected of  Tab Control ...
 
2nd Page selected of  Tab Control ...

 
 

 

Add items ...
 
                        This software use the  command -  GetCurrentDirectory  (to get the name of the current directory)
                        In this Form used the following database classes  -
CDaoDatabase and CDaoRecordset
                        In the file stdafx.h add the  MFC database support - afxdao.h
 
Add  Picture Files
 
  • From the CD-Rom - Teach_VNet, copy  the bmp files diamp1.bmp, bitmap4.bmp and bitmap5.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 diamp1.bmp  of the folder c:\KJV_VCNet\res, and then click Open.  New
    item - IDB_BITMAP3 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 bitmap4.bmp  of the folder c:\KJV_VCNet\res, and then click Open.  New
    item - IDB_BITMAP4 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 bitmap5.bmp  of the folder c:\KJV_VCNet\res, and then click Open.  New
    item - IDB_BITMAP5 added to the Bitmap folder of Resource View

 

 

 Add controls to IDD_BOOK

 

 The Codes ....

 

 

 


 


Previous Home
4
Next