Compaq iPAQ h3760 Datenblatt Seite 68

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 75
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 67
ENEE408G Fall 2003 (Update 09/23/2003)
Mobile Computing and Pocket PC Programming
67
(e) Edit AudioProcPPCDlg.cpp
26
// AudioProcPPCDlg.cpp : implementation file
// Author: Guan-Ming Su
// Date: Aug 2002
#include "stdafx.h"
#include "AudioProcPPC.h"
#include "AudioProcPPCDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAudioProcPPCDlg dialog
CAudioProcPPCDlg::CAudioProcPPCDlg(CWnd* pParent /*=NULL*/)
: CDialog(CAudioProcPPCDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CAudioProcPPCDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
void CAudioProcPPCDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAudioProcPPCDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAudioProcPPCDlg, CDialog)
//{{AFX_MSG_MAP(CAudioProcPPCDlg)
ON_BN_CLICKED(IDC_btnA, OnbtnA)
ON_BN_CLICKED(IDC_btnB, OnbtnB)
ON_BN_CLICKED(IDC_btnC, OnbtnC)
ON_BN_CLICKED(IDC_btnD, OnbtnD)
ON_BN_CLICKED(IDC_btnE, OnbtnE)
ON_BN_CLICKED(IDC_btnF, OnbtnF)
ON_BN_CLICKED(IDC_btnG, OnbtnG)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAudioProcPPCDlg message handlers
BOOL CAudioProcPPCDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
CenterWindow(GetDesktopWindow()); // center to the hpc screen
// TODO: Add extra initialization here
26
Notice that “// Add your own code
Æ
” and “//
Å
” indicates that you may put some codes in these areas.
In this example, we use italic red font for the added codes (to distinguish from the codes already
automatically generated by eVC).
Seitenansicht 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 74 75

Kommentare zu diesen Handbüchern

Keine Kommentare