The EX32A Resource File

This application uses a dialog bar, so you'll need a dialog resource for it. Figure 32-2 shows the dialog bar. The dialog resource ID is IDD_QUERY_BAR. The controls are listed below.

Control ID
Button IDC_REQUERY
Edit IDC_QUERY

The following styles are set:

Style = Child

Border = None

Visible = Unchecked

There's also a table selection dialog template, IDD_TABLE_SELECT, which has a list-box control with ID IDC_LIST1 and an ISAM selection dialog template, IDD_ISAM_SELECT. The File menu has the following four added items.

Menu Item Command ID
DAO Open MDB ID_FILE_DAOOPEN_MDB
DAO Open ISAM ID_FILE_DAOOPEN_ISAM
DAO Open ODBC ID_FILE_DAOOPEN_ODBC
DAO Disconnect ID_FILE_DAODISCONNECT


Programming Microsoft Visual C++
Programming Microsoft Visual C++
ISBN: 1572318570
EAN: 2147483647
Year: 1997
Pages: 332

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net