📄 rddraw.h
字号:
/*____________________________________________________________________________
Copyright (C) 1997 Network Associates Inc. and affiliated companies.
All rights reserved.
$Id: RDdraw.h,v 1.2 1999/03/10 03:00:55 heller Exp $
____________________________________________________________________________*/
#ifndef Included_RDDRAW_h /* [ */
#define Included_RDDRAW_h
/*
* OwnDraw.c ListView draw routines to accommidate italics/strikeout
*
* These routines use the ownerdraw characteristic of the standard
* listview to provide custom drawing routines.
*
* Copyright (C) 1996 Network Associates Inc. and affiliated companies.
* All rights reserved.
*/
#define CX_SMICON 16 // Size of the small images
#define CY_SMICON 16
#define PGP_DDERROR 1
#define PGP_DDTEXT 2
#define PGP_DDBAR 3
#define MAXCOLS 10
void CreateDrawElements(PGPContextRef context,DRAWSTRUCT *ds);
void DeleteDrawElements(DRAWSTRUCT *ds);
void DrawBar(DRAWSTRUCT *ds,HDC hdc,RECT *ptrBarRect,
int DataValue,int MaxValue,BOOL Selected);
void DrawListViewItem(LPDRAWITEMSTRUCT lpDrawItem);
void DrawItemColumn(HDC hdc, LPTSTR lpsz, LPRECT prcClip);
BOOL CalcStringEllipsis(HDC hdc, LPTSTR lpszString,
int cchMax, UINT uColWidth);
BOOL Main_OnDrawItem(HWND hwnd, const DRAWITEMSTRUCT * lpDrawItem);
void Main_OnMeasureItem(HWND hwnd, MEASUREITEMSTRUCT * lpMeasureItem);
#endif /* ] Included_RDDRAW_h */
/*__Editor_settings____
Local Variables:
tab-width: 4
End:
vi: ts=4 sw=4
vim: si
_____________________*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -