Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

49 lines
1.1 KiB
C++

// BriefEdit.cpp : implementation file
//
#include "stdafx.h"
#include "mw4gameed.h"
#include "BriefEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CBriefEdit
CBriefEdit::CBriefEdit()
{
}
CBriefEdit::~CBriefEdit()
{
}
BEGIN_MESSAGE_MAP(CBriefEdit, CEdit)
//{{AFX_MSG_MAP(CBriefEdit)
ON_WM_CONTEXTMENU()
ON_WM_CTLCOLOR()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBriefEdit message handlers
void CBriefEdit::OnContextMenu(CWnd* pWnd, CPoint point)
{
CMenu menu;
VERIFY(menu.LoadMenu(IDR_OBJECTPOPUP));
CMenu* pPopup = menu.GetSubMenu(1);
ASSERT(pPopup != NULL);
pPopup->TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON,point.x,point.y,this);
}
HBRUSH CBriefEdit::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CEdit::OnCtlColor(pDC, pWnd, nCtlColor);
// TODO: Change any attributes of the DC here
// TODO: Return a different brush if the default is not desired
return hbr;
}