// P4Menu.cpp: implementation of the CP4Menu class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "p4win.h" #include "MainFrm.h" #include "P4Menu.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CP4Menu::CP4Menu() { } CP4Menu::~CP4Menu() { } BOOL CP4Menu::TrackPopupMenu(UINT nFlags, int x, int y, CWnd* pWnd, LPCRECT lpRect /*= 0*/) { MainFrame()->DoNotAutoPoll(); MainFrame()->m_InPopUpMenu = TRUE; BOOL rc = CMenu::TrackPopupMenu(nFlags, x-6, y-6, pWnd, lpRect); MainFrame()->m_InPopUpMenu = FALSE; MainFrame()->ResumeAutoPoll(); return rc; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19924 | YourUncleBob |
Populate -o //guest/perforce_software/p4win/... //guest/YourUncleBob/p4win/..... |
||
//guest/perforce_software/p4win/main/gui/P4Menu.cpp | |||||
#1 | 16169 | perforce_software | Move files to follow new path scheme for branches. | ||
//guest/perforce_software/p4win/gui/P4Menu.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. |