home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
graphics
/
audio
/
mmcaps
/
zyztlb.h
< prev
Wrap
Text File
|
1997-10-05
|
2KB
|
93 lines
//==========================================================================;
//
// 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
);