⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 activestatusbar.cpp

📁 关于vc++学习应用的很好的书籍!!!!!!!!!! 里面有事例,源码!
💻 CPP
字号:
// ActiveStatusBar.cpp : implementation file
//

#include "stdafx.h"
#include "StatusBar.h"
#include "ActiveStatusBar.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CActiveStatusBar

CActiveStatusBar::CActiveStatusBar()
{
}

CActiveStatusBar::~CActiveStatusBar()
{
}


BEGIN_MESSAGE_MAP(CActiveStatusBar, CStatusBar)
	//{{AFX_MSG_MAP(CActiveStatusBar)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CActiveStatusBar message handlers

/****************************************************************************
*                       CActiveStatusBar::OnCommand
* Inputs:
*       WPARAM wParam:
*	LPARAM lParam:
* Result: LRESULT
*       
* Effect: 
*       Passes the command upwards if it is one of our commands
****************************************************************************/

BOOL CActiveStatusBar::OnCommand(WPARAM wParam, LPARAM lParam)
    {
     switch(LOWORD(wParam))
	{ /* one of ours? */
	 case ID_INDICATOR_COMBO:
	 case ID_INDICATOR_EDIT:
	    return GetParent()->SendMessage(WM_COMMAND, wParam, lParam);
	} /* one of ours? */

     // Not one of ours
     return CControlBar::OnCommand(wParam, lParam);
    } // CActiveStatusBar::OnCommand

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -