password.cpp
来自「地理信息系统ArcEngine二次开发:实现读取地图文档功能。」· C++ 代码 · 共 26 行
CPP
26 行
// Password.cpp : Implementation of CPassword
#include "stdafx.h"
#include "Password.h"
/////////////////////////////////////////////////////////////////////////////
// CPassword
LRESULT CPassword::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
//Center the dialog on the screen
CenterWindow();
return TRUE; // Let the system set the focus
}
LRESULT CPassword:: OnOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
{
GetDlgItemText(IDC_PASSWORD, m_password, 16);
EndDialog(wID);
return 0;
}
LRESULT CPassword::OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
{
EndDialog(wID);
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?