// UserView.cpp : implementation file // #include "stdafx.h" #include "p4win.h" #include "UserView.h" #include "ImageList.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CUserView IMPLEMENT_DYNCREATE(CUserView, CP4PaneView) CUserView::CUserView() { m_content = &m_userListCtrl; } CUserView::~CUserView() {} bool CUserView::CreateContent() { if(!m_userListCtrl.Create( WS_CHILD | WS_VISIBLE, CRect(0, 0, 10, 10), this, 1)) return false; return true; } void CUserView::SetToolBarButtons() { m_toolBar.SetButtons(NULL, 1); m_toolBar.SetButtonInfo(0, ID_VIEW_UPDATE_RIGHT, TBBS_BUTTON, CP4WinToolBarImageList::TBI_REFRESH); } BEGIN_MESSAGE_MAP(CUserView, CP4PaneView) END_MESSAGE_MAP()
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/UserView.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. |