// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // FirstTimeDlg.cpp : implementation file // #include "stdafx.h" #include "p4win.h" #include "FirstTimeDlg.h" #include "MainFrm.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CFirstTimeDlg dialog CFirstTimeDlg::CFirstTimeDlg(CWnd* pParent /*=NULL*/) : CDialog(CFirstTimeDlg::IDD, pParent) { //{{AFX_DATA_INIT(CFirstTimeDlg) //}}AFX_DATA_INIT } void CFirstTimeDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CFirstTimeDlg) //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CFirstTimeDlg, CDialog) //{{AFX_MSG_MAP(CFirstTimeDlg) ON_BN_CLICKED(IDC_GETADOBE, OnGetAdobe) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CFirstTimeDlg message handlers BOOL CFirstTimeDlg::OnInitDialog() { CDialog::OnInitDialog(); // Load the Get Abode bitmap m_Bitmap.LoadBitmap(MAKEINTRESOURCE(IDB_GETADOBE)); GetDlgItem(IDC_GETADOBE)->SendMessage(BM_SETIMAGE, IMAGE_BITMAP, (LPARAM)HBITMAP(m_Bitmap)); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } void CFirstTimeDlg::OnGetAdobe() { GotoDlgCtrl(GetDlgItem(IDOK)); ShellExecute( m_hWnd, _T("open"), LoadStringResource(IDS_WWW_ADOBE), NULL, NULL, SW_SHOWNORMAL); TheApp()->StatusAdd(LoadStringResource(IDS_WAIT4ADOBE), SV_MSG); } void CFirstTimeDlg::OnOK() { CDialog::OnOK(); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/FirstTimeDlg.cpp | |||||
#1 | 8562 | Matt Attaway |
These feet never stop running. Initial commit of the P4Win source code. To the best of our knowledge this compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes as we refine the build process. Please post any build issues to the forums. |