📄 search.h
字号:
/*____________________________________________________________________________
Copyright (C) 2002 PGP Corporation
All rights reserved.
$Id: Search.h,v 1.6 2002/08/06 20:09:46 dallen Exp $
____________________________________________________________________________*/
#ifndef _SEARCH_H
#define _SEARCH_H
#include "pgpBase.h"
#include "pgpKeyServerPrefs.h"
#define SEARCH_DISPLAY_KEYSET WM_APP + 100
#define SEARCH_SIZING WM_APP + 101
#define SEARCH_REQUEST_SIZING WM_APP + 102
#define SEARCH_PROGRESS WM_APP + 103
#define SEARCH_ABORT WM_APP + 104
#define SEARCH_SECURE_STATUS WM_APP + 105
#define SEARCH_SET_LOCAL_KEYSET WM_APP + 110
#define SEARCH_SET_CURRENT_SEARCH WM_APP + 111
#define SEARCH_SET_FOCUS WM_APP + 112
#define SEARCH_SET_MAIN_KEYDB WM_APP + 113
#define REFRESH_KEYSERVER_LIST WM_APP + 120
#define INDEX_LOCAL_KEYSET 0
#define INDEX_CURRENT_RESULTS 1
#define INDEX_FIRST_KEYSERVER 2
#define FLAG_SEARCH_LOCAL_KEYSET 0x0001
#define FLAG_SEARCH_SERVER 0x0002
#define FLAG_SEARCH_CURRENT 0x0004
#define FLAG_AREA_PENDING 0x0008
#define SEARCH_PROGRESS_INFINITE -1L
typedef struct _SEARCHRESULT
{
NMHDR nmhdr;
void* pData;
PGPKeyServerEntry keyserver;
PGPError error;
long flags;
}SEARCHRESULT, *PSEARCHRESULT;
typedef struct _SEARCHPROGRESS
{
NMHDR nmhdr;
char message[256];
long step;
long total;
}SEARCHPROGRESS, *PSEARCHPROGRESS;
typedef struct _SEARCHABORT
{
NMHDR nmhdr;
PGPError error;
}SEARCHABORT, *PSEARCHABORT;
typedef struct _SEARCHSECURE
{
NMHDR nmhdr;
BOOL secure;
char szServerName[256];
PGPKeyDBObjRef keyAuth;
PGPtlsCipherSuiteNum tlsCipher;
}SEARCHSECURE, *PSEARCHSECURE;
typedef struct _SIZEREQUEST
{
NMHDR nmhdr;
int delta;
}SIZEREQUEST, *PSIZEREQUEST;
// call this function before calling any
// Search Functions
BOOL
InitSearch( void );
void
CloseSearch( void );
// This function creates a Search Control
// It places itself in the upper left corner
// of the parent control.
//
HWND
CreateSearch(HINSTANCE hInstance,
HWND hwndParent );
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -