[My Resume]
[Home]
CIS 3290 Spring 1999
Professor: Dr. Baskerville
Final Project
Student: Alex Nava
Project Documenation:
Project Documenation:
.cpp file:
resource.h file:
resource.rc file:
//Alex Nava
//dialog.h
class CMainWin: public CFrameWnd
{
private:
int cbstatus1;
int cbstatus2;
CString cmbSlide;
CString cmbBody;
int rbstatus1;
int rbstatus2;
int rbstatus3;
int rbstatus4;
int rbstatus5;
int rbstatus6;
CString ebxSlide;
CString ebxBody;
public:
CMainWin(LPCSTR ClassName);
//define menu handlers
afx_msg void OnDialog();
afx_msg void OnExit();
afx_msg void OnHelp();
DECLARE_MESSAGE_MAP()
};
//This is the application class
class CApp: public CWinApp
{
public:
BOOL InitInstance();
};
//This is the dialog class
class CSampleDialog: public CDialog
{
public:
int cbstatus1;
int cbstatus2;
CString cmbSlide;
CString cmbBody;
int rbstatus1;
int rbstatus2;
int rbstatus3;
int rbstatus4;
int rbstatus5;
int rbstatus6;
CString ebxSlide;
CString ebxBody;
CTabCtrl m_Tab;
CSampleDialog(char *DialogName, CWnd *Owner):
CDialog(DialogName, Owner) {}
virtual void OnOK();
BOOL OnInitDialog();
afx_msg void OnDefault();
afx_msg void OnTabChange(NMHDR *hdr, LRESULT *NotUsed);
DECLARE_MESSAGE_MAP()
};
class SecondDialog : public CDialog
{
public:
int cbstatus1;
int cbstatus2;
CString cmbSlide;
CString cmbBody;
int rbstatus1;
int rbstatus2;
int rbstatus3;
int rbstatus4;
int rbstatus5;
int rbstatus6;
CString ebxSlide;
CString ebxBody;
SecondDialog() : CDialog() {}
BOOL OnInitDialog();
BOOL pageDefault();
BOOL getCompVals();
afx_msg void OnCB1();
afx_msg void OnCB2();
afx_msg void OnCombo1Change();
afx_msg void OnCombo2Change();
afx_msg void OnRadio1Change();
afx_msg void OnRadio2Change();
afx_msg void OnRadio3Change();
afx_msg void OnRadio4Change();
afx_msg void OnRadio5Change();
afx_msg void OnRadio6Change();
afx_msg void OnEditSlide();
afx_msg void OnEditBody();
DECLARE_MESSAGE_MAP()
};