cstatusbar.cpp

来自「可以实现对邮件的加密解密以及签名」· C++ 代码 · 共 29 行

CPP
29
字号
/*____________________________________________________________________________
		Copyright (C) 2002 PGP Corporation
        All rights reserved.

        $Id: CStatusBar.cpp,v 1.2 2002/08/06 20:10:46 dallen Exp $
____________________________________________________________________________*/

#include "pgpClassesConfig.h"
#include "CStatusBar.h"

_USING_PGP

// Class CStatusBar member functions

void 
CStatusBar::Create(HWND parent, PGPUInt32 id, const char *initText)
{
	pgpAssert(!WeSubclassed());
	pgpAssert(CWindow::IsWindow(parent));

	HWND	hwnd	= CreateStatusWindow(WS_CHILD | WS_VISIBLE | 
		SBARS_SIZEGRIP, initText, parent, id);

	if (IsNull(hwnd))
		THROW_ERRORS(kPGPError_Win32WindowOpFailed, GetLastError());

	Subclass(hwnd);
}

⌨️ 快捷键说明

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