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

📄 quitdlg.cpp

📁 wince 的PPC程序,关于银行方便的,但是是测试的程序,不是上线的,不过里面有很多算法还是值得一看的
💻 CPP
字号:
// QuitDlg.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "QuitDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CQuitDlg dialog


CQuitDlg::CQuitDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CQuitDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CQuitDlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CQuitDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CQuitDlg)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CQuitDlg, CDialog)
	//{{AFX_MSG_MAP(CQuitDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CQuitDlg message handlers

BOOL CQuitDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// 使对话框全屏
	SHFullScreen(AfxGetMainWnd()->m_hWnd, SHFS_HIDETASKBAR | SHFS_HIDESIPBUTTON |   SHFS_HIDESTARTICON);
	AfxGetMainWnd()->SetWindowText(_T("        退出应用"));	
	::SetForegroundWindow(AfxGetMainWnd()->m_hWnd);	//SetWindowText(_T("退出应用"));
	
	// 使用如下语句把对话框右上角的 OK 按钮去掉.
	ModifyStyle(this->m_hWnd, WS_CAPTION, WS_MINIMIZEBOX, SWP_NOSIZE);
	SHDoneButton(this->m_hWnd, SHDB_HIDE);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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