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

📄 stdafx.cpp

📁 Visual C++高级编程及其项目应用开发(含源代码)
💻 CPP
字号:
// stdafx.cpp : source file that includes just the standard includes
//	myUI.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"


void EkDockBarNextTo(CControlBar* pNewBar, CControlBar* pDockedBar,
		UINT nDockBarID)
{
	//将要停靠的框架
	CFrameWnd* pFrame = pDockedBar->GetDockingFrame();
	//计算停靠控制条的位置
	pFrame->RecalcLayout();

	//计算已经停靠的工具栏的矩形
	CRect rect;
	pDockedBar->GetWindowRect(&rect);

	//停靠新的工具栏条
	rect.OffsetRect(1,1);

	pFrame->DockControlBar(pNewBar, nDockBarID, &rect);
}


⌨️ 快捷键说明

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