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

📄 staticex.cpp

📁 ODBC API访问数据库的文章却少之又少。虽然用ODBC访问数据库比较麻烦
💻 CPP
字号:
// StaticEx.cpp : 实现文件
//

#include "stdafx.h"
#include "DeskOutDlg.h"
#include "StaticEx.h"
#include ".\staticex.h"


// CStaticEx

IMPLEMENT_DYNAMIC(CStaticEx, CStatic)
CStaticEx::CStaticEx()
{
}

CStaticEx::~CStaticEx()
{
}


BEGIN_MESSAGE_MAP(CStaticEx, CStatic)
	ON_WM_SIZE()
END_MESSAGE_MAP()

void CStaticEx::OnSize(UINT nType, int cx, int cy)
{
	CStatic::OnSize(nType, cx, cy);
	CWnd* pWnd = GetWindow(GW_CHILD);
	if(IsChild(pWnd))
	{
		pWnd->MoveWindow(0, 0, cx, cy);
	}
}

⌨️ 快捷键说明

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