windows-nt/Source/XPSP1/NT/multimedia/media/mmcaps2k/zyztlb.h

93 lines
1.8 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//==========================================================================;
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
// TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR
// A PARTICULAR PURPOSE.
//
// Copyright (C) 1993 - 1997 Microsoft Corporation. All Rights Reserved.
//
//--------------------------------------------------------------------------;
//==========================================================================;
//
// zyztlb.h
//
// Description:
//
//
// History:
// 5/18/93
//
//==========================================================================;
//
//
//
//
typedef struct tZYZTABBEDLISTBOX
{
HWND hlb;
int nFontHeight;
RECT rc;
UINT uTabStops;
PINT panTabs;
PINT panTitleTabs;
UINT cchTitleText;
PTSTR pszTitleText;
} ZYZTABBEDLISTBOX, *PZYZTABBEDLISTBOX;
#define TLB_MAX_TAB_STOPS 20 // max number of columns
#define TLB_MAX_TITLE_CHARS 512
//
//
//
//
//
BOOL FNGLOBAL TlbPaint
(
PZYZTABBEDLISTBOX ptlb,
HWND hwnd,
HDC hdc
);
BOOL FNGLOBAL TlbMove
(
PZYZTABBEDLISTBOX ptlb,
PRECT prc,
BOOL fRedraw
);
HFONT FNGLOBAL TlbSetFont
(
PZYZTABBEDLISTBOX ptlb,
HFONT hfont,
BOOL fRedraw
);
BOOL FNGLOBAL TlbSetTitleAndTabs
(
PZYZTABBEDLISTBOX ptlb,
PTSTR pszTitleFormat,
BOOL fRedraw
);
PZYZTABBEDLISTBOX FNGLOBAL TlbDestroy
(
PZYZTABBEDLISTBOX ptlb
);
PZYZTABBEDLISTBOX FNGLOBAL TlbCreate
(
HWND hwnd,
int nId,
PRECT prc
);