Compaq iPAQ h3760 Datenblatt Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 75
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 28
ENEE408G Fall 2003 (Update 09/23/2003)
Mobile Computing and Pocket PC Programming
28
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IMAGEPROCPPCDLG_H__50A20CED_5408_4999_9422_3B87C2F19B2F__INCLUDED_)
(f)Edit ImageProcPPCDlg.cpp
// ImageProcPPCDlg.cpp : implementation file
// Use DIBsectionLite http://www.codeproject.com/bitmap/dibsection.asp
//
// Author: Guan-Ming Su
// Date: 9/23/2003
#include "stdafx.h"
#include "ImageProcPPC.h"
#include "ImageProcPPCDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CImageProcPPCDlg dialog
CImageProcPPCDlg::CImageProcPPCDlg(CWnd* pParent /*=NULL*/)
: CDialog(CImageProcPPCDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CImageProcPPCDlg)
// 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 CImageProcPPCDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CImageProcPPCDlg)
DDX_Control(pDX, IDC_STATIC_DRAWIMAGE, m_DrawImage);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CImageProcPPCDlg, CDialog)
//{{AFX_MSG_MAP(CImageProcPPCDlg)
ON_BN_CLICKED(IDC_BUTTON_OPENFILE, OnButtonOpenfile)
ON_BN_CLICKED(IDC_BUTTON_RED, OnButtonRed)
ON_BN_CLICKED(IDC_BUTTON_SAVEFILE, OnButtonSavefile)
ON_BN_CLICKED(IDC_BUTTON_SHOW, OnButtonShow)
ON_WM_PAINT()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CImageProcPPCDlg message handlers
BOOL CImageProcPPCDlg::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
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 74 75

Kommentare zu diesen Handbüchern

Keine Kommentare