P4SpecSheet.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • gui/
  • spec-dlgs/
  • P4SpecSheet.h.
  • View
  • Commits
  • Open Download .zip Download (2 KB)
#pragma once


// CP4SpecSheet dialog
#include "P4SpecDlg.h"

class CP4SpecSheet : public CDialog
{
	DECLARE_DYNAMIC(CP4SpecSheet)

public:
	CP4SpecSheet(CWnd* pParent = NULL);   // standard constructor
	virtual ~CP4SpecSheet();

	CP4SpecDlg m_P4SpecDlg;
	
// Dialog Data
	//{{AFX_DATA(CP4SpecSheet)
	enum { IDD = IDD_SPECSHEET };
	CButton	m_bHelpHelp;
	CButton	m_bHelp;
	CButton	m_bEditor;
	CButton	m_bOK;
	CButton	m_bAlternate;
	CButton	m_bCancel;
	CButton m_bReopen;
	int m_UnchangedFlag;
	//}}AFX_DATA

protected:
	CWnd *m_pParent;
	CWnd *m_LastFocus;
	int m_ScreenHeight;
	int m_BtnId[5];
	int m_Pad;
	BOOL m_bShowReopen;
	BOOL m_bShowRevertUnchg;

	// data for modeless edit and submit dialogs
 	BOOL m_IsMinimized;
	BOOL m_MainFRmSignaled;

	void ChgFont(int id);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CP4SpecSheet)
	public:
	virtual int DoModal();
	virtual void OnCancel();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CP4SpecSheet)
	virtual BOOL OnInitDialog();
	afx_msg void OnEnter();
	afx_msg void On_OK();
	afx_msg void OnAlternate();
	virtual void On_Cancel();
	afx_msg void OnHelpnotes();
	afx_msg void OnEditor();
	afx_msg void OnHelp();
	afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
	afx_msg void OnReopen();
	afx_msg void OnRadioUnchg();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
	afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnClose();
 	afx_msg void OnDestroy();
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	LRESULT OnEnableDisable( WPARAM wParam, LPARAM lParam );
	LRESULT OnModifyStyle( WPARAM wParam, LPARAM lParam );
	LRESULT OnP4EndHelpnotes(WPARAM wParam, LPARAM lParam);
	LRESULT OnQuitting(WPARAM wParam, LPARAM lParam);
	LRESULT OnForceFocus(WPARAM wParam, LPARAM lParam);
};
# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/gui/spec-dlgs/P4SpecSheet.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/gui/spec-dlgs/P4SpecSheet.h
#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.