📄 cwaitcursor.cpp
字号:
// $Id: CWaitCursor.cpp,v 1.4 2001/12/19 04:19:19 genta Exp $
/*! @file
@brief 砂時計カーソル
@author Norio Nakatani
$Revision: 1.4 $
*/
/*
Copyright (C) 1998-2001, Norio Nakatani
This source code is designed for sakura editor.
Please contact the copyright holder to use this code for other purpose.
*/
#include "CWaitCursor.h"
/*!
現在のカーソルを保存し、カーソルを砂時計にする
*/
CWaitCursor::CWaitCursor( HWND hWnd )
{
SetCapture( hWnd );
m_hCursor = ::LoadCursor( NULL, IDC_WAIT );
m_hCursorOld = ::SetCursor( m_hCursor );
return;
}
/*!
カーソル形状を元に戻す
*/
CWaitCursor::~CWaitCursor()
{
ReleaseCapture();
::SetCursor( m_hCursorOld );
return;
}
/*[EOF]*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -