DragonNest/Server/ServiceMonitorEx/External/UltimateToolbox/source/OXHyperFrameWnd.cpp
2024-12-20 16:56:44 +08:00

37 lines
1.4 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// HyperFrameWnd.cpp : implementation file
//
#include "stdafx.h"
#include "OXHyperFrameWnd.h"
// COXHyperFrameWnd
IMPLEMENT_DYNCREATE(COXHyperFrameWnd, CFrameWnd)
COXHyperFrameWnd::COXHyperFrameWnd()
{
}
COXHyperFrameWnd::~COXHyperFrameWnd()
{
}
BEGIN_MESSAGE_MAP(COXHyperFrameWnd, CFrameWnd)
ON_WM_ACTIVATE()
END_MESSAGE_MAP()
// COXHyperFrameWnd message handlers
void COXHyperFrameWnd::OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized)
{
CFrameWnd::OnActivate(nState, pWndOther, bMinimized);
if(WA_INACTIVE == nState && pWndOther && pWndOther->GetParentFrame() == this)
{
AfxGetMainWnd()->SendMessage(WM_NCACTIVATE, TRUE);
}
}